3 ms·
Magic Gradient Color Effect
- SonOfLilit 5y agoI don't understand why this specific shader got to the front page when there are so many nicer things on shadertoy, but shadertoy is wonderful. If you replace the if with a multiplication, you'll get rid of the gray edges and also get a speedup because GPUs hate branches: baseColor.rgb *= vec3(sin(iTime*2.5),cos(iTime*2.5),sin(cos(iTime*2.5)));