642d5a256791
clear.vert
// A triangle that fills the whole screen
vec2[3] TRIANGLE_POS = vec2[](
vec2( 0.0, -3.0),
vec2(-3.0, 1.0),
vec2( 3.0, 1.0)
);
void main() {
gl_Position = vec4(TRIANGLE_POS[gl_VertexID], 0.0, 1.0);
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.