mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-30 01:00:37 +01:00
11 lines
184 B
GLSL
11 lines
184 B
GLSL
|
vec2 gfc(in vec4 fc) {
|
||
|
vec2 canvas_pos = resolution.zw;
|
||
|
vec2 uv = fc.xy;
|
||
|
uv.y -= canvas_pos.y;
|
||
|
return uv;
|
||
|
}
|
||
|
|
||
|
void main(void) {
|
||
|
mainImage(gl_FragColor, gfc(gl_FragCoord));
|
||
|
}
|