1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
cellular-shader/resources/myTeaShader.frag
2011-07-25 17:13:22 +02:00

9 lines
216 B
GLSL

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;
}