Quoted By:
I made some shaders recently, friend told me I should share here.
[code:lit]
precision highp float;
uniform float time;
uniform vec2 resolution;
void main(void) {
vec2 position = (gl_FragCoord.xy*2.0 - resolution.xy) / resolution.y;
float x = sin(time + position.y*position.x) + gl_FragCoord.x*gl_FragCoord.y;
float r = 0.0-sin(x);
float g = 0.0-x;
float b = 0.0;
vec3 rgb = vec3(r, g, b);
gl_FragColor = vec4(rgb, 1.0);
}
[/code:lit]
They all move by the way.