summaryrefslogtreecommitdiff
path: root/assets/shaders/debug_quad.vert
blob: 8b8201c30c5a28fbf2a8679eab74d8f1ef62dd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 410 core
layout (location = 0) in vec3 inPosition;
layout (location = 1) in vec3 inNormal;
layout (location = 2) in vec2 inTexCoords;

out vec2 TexCoords;

void main()
{
    TexCoords = inTexCoords;
    vec2 xy = inPosition.xz;
    gl_Position = vec4(xy, 0.0, 1.0);
}