diff options
Diffstat (limited to 'pbr/1.1.lighting/ssao.vert')
-rw-r--r-- | pbr/1.1.lighting/ssao.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pbr/1.1.lighting/ssao.vert b/pbr/1.1.lighting/ssao.vert new file mode 100644 index 0000000..eed3be3 --- /dev/null +++ b/pbr/1.1.lighting/ssao.vert @@ -0,0 +1,14 @@ +#version 330 core + +layout(location = 0) in vec3 position; +layout(location = 2) in vec2 tex_coords; + +out vert_t { + vec2 tex_coords; +} vert; + +void main() +{ + vert.tex_coords = tex_coords; + gl_Position = vec4(position, 1.0); +} |