varying vec4 color; uniform int steps; void main( void ) { gl_FragColor.rgb = sin(3.0*sin(normalize(color.rgb) + vec3(steps)*vec3(0.01, 0.017, 0.0093)))*0.5+0.5; gl_FragColor.rgb *= 0.5; gl_FragColor.a = 1.0; }