From 68dda06cdeaf4614c7803731a534bf2c34edbf97 Mon Sep 17 00:00:00 2001 From: mrange Date: Sun, 7 Apr 2024 15:13:51 +0200 Subject: [PATCH] Tweaks --- gallery/mandelmapping/fragment-0.hlsl | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery/mandelmapping/fragment-0.hlsl b/gallery/mandelmapping/fragment-0.hlsl index f589ebc..7afe456 100644 --- a/gallery/mandelmapping/fragment-0.hlsl +++ b/gallery/mandelmapping/fragment-0.hlsl @@ -151,6 +151,7 @@ vec3 effect(vec2 p, vec2 pp) { if (i < MaxIter) { } else { float gf = 1E-2/max(gd, fo); + gf *= sqrt(gf); col += gf*palette(tm+(p2.x-p2.y)+op.x); }