kubi/kubi-ui/shaders/vertex.vert
2023-11-22 14:23:48 +01:00

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.);
}