summaryrefslogtreecommitdiff
path: root/files/shaders/shader1.vert
blob: c5d117fc27ff5a280564d1c838499968be5711b8 (plain)
1
2
3
4
5
6
7
8
9
10
#version 450

vec2 positions[3] = vec2[](
    vec2(0.0, -0.5),
    vec2(0.5, 0.5),
    vec2(-0.5, 0.5));

void main() {
    gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
}