projects
/
mandelwow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595fa92
)
Make the mandelwow corona fade slower.
author
Bernie Innocenti
<bernie@codewiz.org>
Fri, 12 May 2017 04:18:44 +0000
(
00:18
-0400)
committer
Bernie Innocenti
<bernie@codewiz.org>
Fri, 12 May 2017 04:18:44 +0000
(
00:18
-0400)
mandelwow.frag
patch
|
blob
|
history
diff --git
a/mandelwow.frag
b/mandelwow.frag
index c2e4e2d728c2fb45b36b49c26bd1e56fc3583389..0551a342450b982d2e5522243da7812f9ac79bad 100644
(file)
--- 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;