Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 245 Bytes
#version 450
#extension GL_ARB_separate_shader_objects : enable
vec3 positions[3] = vec3[](
vec3(0.0, -0.5, 0.0),
vec3(0.5, 0.5, 0.0),
vec3(-0.5, 0.5, 0.0)
);
void main() {
gl_Position = vec4(positions[gl_VertexIndex], 1.0);
}