summaryrefslogtreecommitdiff
path: root/advanced_lighting/9.ssao/ssao.vert
blob: 3ce6fb261b8b1f305253e593356e2029a5c49847 (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);
}