thebookofshaders/03/time.frag
2015-03-25 21:58:31 +01:00

12 lines
139 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
uniform float u_time;
void main() {
gl_FragColor = vec4(abs(sin(u_time)),0.0,0.0,1.0);
}