From 9cfe1556aceb716948781ffbe82552dfabd8aa78 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Fri, 12 May 2017 00:18:44 -0400 Subject: [PATCH] Make the mandelwow corona fade slower. --- mandelwow.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1