Files
lunar/shaders/gradient_fullscreen.vert

14 lines
182 B
GLSL
Raw Normal View History

#version 450
void main()
{
vec2 positions[3] = vec2[](
vec2(-1.0, -1.0),
vec2( 3.0, -1.0),
vec2(-1.0, 3.0)
);
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
}