mirror of
https://github.com/slendidev/lunar.git
synced 2025-12-19 13:29:52 +02:00
14 lines
182 B
GLSL
14 lines
182 B
GLSL
|
|
#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);
|
||
|
|
}
|
||
|
|
|