aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/public/static/shaders/frag/simple.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-frontend/public/static/shaders/frag/simple.glsl')
-rw-r--r--web/pw-frontend/public/static/shaders/frag/simple.glsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/pw-frontend/public/static/shaders/frag/simple.glsl b/web/pw-frontend/public/static/shaders/frag/simple.glsl
new file mode 100644
index 0000000..1292569
--- /dev/null
+++ b/web/pw-frontend/public/static/shaders/frag/simple.glsl
@@ -0,0 +1,15 @@
+#ifdef GL_ES
+precision mediump float;
+#endif
+
+uniform float u_step_interval;
+uniform float u_time;
+uniform vec3 u_color;
+uniform vec3 u_color_next;
+
+void main() {
+
+ vec3 color = mix(u_color, u_color_next, u_time);
+
+ gl_FragColor = vec4(color, 1.0);
+}