From: Bernie Innocenti Date: Fri, 12 May 2017 04:18:44 +0000 (-0400) Subject: Make the mandelwow corona fade slower. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9cfe1556aceb716948781ffbe82552dfabd8aa78;p=mandelwow.git Make the mandelwow corona fade slower. --- diff --git a/mandelwow.frag b/mandelwow.frag index c2e4e2d..0551a34 100644 --- a/mandelwow.frag +++ b/mandelwow.frag @@ -12,7 +12,7 @@ void main() { float zy2 = zy * zy; if (zx2 * zy2 > 4.0) { float index = float(iter) / float(maxiter); - gl_FragColor = vec4(index, 0.1, 1.0 - index / 2.0, 0.8 - index); + gl_FragColor = vec4(index, 0.1, 1.0 - index / 2.0, 0.8 - index * index); return; } zy = zx * zy * 2.0 + c.y;