mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-26 00:38:44 -06:00
10 lines
171 B
GLSL
10 lines
171 B
GLSL
#version 300 es
|
|
|
|
precision highp float;
|
|
in vec2 position;
|
|
uniform vec2 resolution;
|
|
|
|
void main() {
|
|
gl_Position = vec4(vec2(1., -1.) * (position / resolution), 0., 1.);
|
|
}
|