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