mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 23:28:38 +00:00
7 lines
155 B
GLSL
7 lines
155 B
GLSL
#version 450
|
|
|
|
void main() {
|
|
vec2 corner = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
|
|
gl_Position = vec4(corner * 2.0 - 1.0, 0.0, 1.0);
|
|
}
|