X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mandelwow.frag;h=0551a342450b982d2e5522243da7812f9ac79bad;hb=e909401ee19ae946d8888dc3aa75d269f408fb92;hp=c2e4e2d728c2fb45b36b49c26bd1e56fc3583389;hpb=e523420da6df64609d595e1e6e902592c00f6a47;p=mandelwow.git 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;