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