Revision f8c1c6834e3c7da57d0cae114735f1cf643b0498 authored by Nico Schertler on 09 July 2018, 14:15:39 UTC, committed by Nico Schertler on 09 July 2018, 14:15:39 UTC
1 parent 722a9f4
clear.vert
#version 330 core
const vec2 vertices[3] = vec2[]( vec2(-1.0, 1.0), vec2(-1.0, -3.0), vec2(3.0, 1.0));
out vec4 clipPos;
void main()
{
clipPos = vec4(vertices[gl_VertexID], 0.0, 1.0);
gl_Position = clipPos;
}
Computing file changes ...