aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/assets/shaders/frag/simple.glsl
blob: 129256931ed7164a337ef985419c6d0c4e734a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
}