initial: added basic stuff

This commit is contained in:
2017-06-05 15:03:57 -04:00
commit 4eb5b153b9
6 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
void main() {
vec2 st = (gl_FragCoord.xy+u_mouse)/(u_resolution*vec2(2, 2));
gl_FragColor = vec4(st.x, st.y, abs(sin(u_time)*0.8), 1.0);
}