remove legacy ui shaders

This commit is contained in:
griffi-gh 2023-11-22 20:27:08 +01:00
parent 547759d6b2
commit 828694cf5a
2 changed files with 0 additions and 29 deletions

View file

@ -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;
}
}

View file

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