mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-04 08:25:29 +03:00
15 lines
244 B
GLSL
15 lines
244 B
GLSL
|
#version 460
|
||
|
|
||
|
void main() {
|
||
|
const vec2 lut[6] = vec2[6](
|
||
|
vec2(-1, -1),
|
||
|
vec2(-1, 1),
|
||
|
vec2(1, 1),
|
||
|
vec2(1, 1),
|
||
|
vec2(1, -1),
|
||
|
vec2(-1, -1)
|
||
|
);
|
||
|
|
||
|
gl_Position = vec4(lut[gl_VertexIndex], 0, 1);
|
||
|
}
|