treesummaryrefslogcommitdiff
path: root/shaders/fbo_vert.glsl
blob: 0cf6138a3b1d57ca71dc441634df9677b163f88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core
layout (location = 0) in vec2 aPos;
layout (location = 1) in vec2 aTexCoords;

out vec2 TexCoords;

void main()
{
    // this is just a plane that covers the screen
    gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0); 
    TexCoords = aTexCoords;
}