thebookofshaders/03/time.frag

10 lines
137 B
GLSL
Raw Normal View History

2015-03-15 15:21:47 +00:00
#ifdef GL_ES
precision mediump float;
#endif
uniform float u_time;
void main() {
2015-03-25 20:58:31 +00:00
gl_FragColor = vec4(abs(sin(u_time)),0.0,0.0,1.0);
2015-03-15 15:21:47 +00:00
}