mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
remove legacy ui shaders
This commit is contained in:
parent
547759d6b2
commit
828694cf5a
|
@ -1,17 +0,0 @@
|
||||||
#version 300 es
|
|
||||||
|
|
||||||
precision highp float;
|
|
||||||
|
|
||||||
in vec2 v_uv;
|
|
||||||
out vec4 out_color;
|
|
||||||
uniform float progress;
|
|
||||||
uniform vec4 color;
|
|
||||||
uniform vec4 bg_color;
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
if (v_uv.x <= progress) {
|
|
||||||
out_color = color;
|
|
||||||
} else {
|
|
||||||
out_color = bg_color;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
#version 300 es
|
|
||||||
|
|
||||||
in vec2 position;
|
|
||||||
out vec2 v_uv;
|
|
||||||
uniform mat4 ui_view;
|
|
||||||
uniform mat3 transform;
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
v_uv = position;
|
|
||||||
vec2 transformed = (transform * vec3(position, 1.)).xy;
|
|
||||||
gl_Position = ui_view * vec4(transformed, 0., 1.);
|
|
||||||
}
|
|
Loading…
Reference in a new issue