summaryrefslogtreecommitdiff
path: root/advanced_lighting/9.ssao/deferred.vert
blob: 335635b27a8fd078859e385fd4a8c05d537dc0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
}