You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
217 B
9 lines
217 B
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.05;
|
|
gl_FragColor.a = 1.0;
|
|
}
|
|
|