From 1cfb3f2f8ce2ef9bbaf20ccb88b968e73870bda7 Mon Sep 17 00:00:00 2001 From: Xonk Date: Thu, 21 Mar 2024 16:37:24 -0400 Subject: [PATCH] fix fog in caves --- shaders/lib/overworld_fog.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lib/overworld_fog.glsl b/shaders/lib/overworld_fog.glsl index 6268d02..c46964b 100644 --- a/shaders/lib/overworld_fog.glsl +++ b/shaders/lib/overworld_fog.glsl @@ -147,7 +147,7 @@ vec4 GetVolumetricFog( skyLightPhased = max(skyLightPhased + skyLightPhased*(normalize(wpos).y*0.9+0.1),0.0); LightSourcePhased *= mie; - float lightleakfix = 1; //clamp(pow(eyeBrightnessSmooth.y/240.,2) ,0.0,1.0); + float lightleakfix = clamp(pow(eyeBrightnessSmooth.y/240.,2) ,0.0,1.0); #ifdef RAYMARCH_CLOUDS_WITH_FOG vec3 SkyLightColor = AmbientColor;