summaryrefslogtreecommitdiff
path: root/advanced_opengl/5.framebuffers/shaders/screen.vert
blob: 92bc37883a6e1766eea528e6a82730d0f8519e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 330 core
layout(location = 0) in vec3 apos;
layout(location = 1) in vec2 atex_coords;

out vec2 tex_coords;

uniform mat4 model;

void main(void)
{
    gl_Position = model*vec4(apos, 1.0);
    tex_coords = atex_coords;
}