From 4ddb0d7036e4b95f8b8472bf103b8e08b09cbdad Mon Sep 17 00:00:00 2001 From: Xonk Date: Sun, 9 Mar 2025 22:42:45 -0400 Subject: [PATCH] forgot to add the indirect light absorbance gradient for underwater VL again --- shaders/dimensions/composite2.fsh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/shaders/dimensions/composite2.fsh b/shaders/dimensions/composite2.fsh index 4cc9ca1..65c738a 100644 --- a/shaders/dimensions/composite2.fsh +++ b/shaders/dimensions/composite2.fsh @@ -290,13 +290,7 @@ vec4 waterVolumetrics(vec3 rayStart, vec3 rayEnd, float rayLength, vec2 dither, float thing = -normalize(dVWorld).y; thing = clamp(thing + 0.333,0.0,1.0); thing = pow(1.0-pow(1.0-thing,2.0),2.0); - - // thing = 1.0; - - // thing = max(exp(-3.0*exp(-3.0*thing)),0.0); - thing *= 15.0; - - thing = 0.0; + thing *= 7.0; float expFactor = 11.0; for (int i=0;i