fix fog in caves

This commit is contained in:
Xonk committed 2024-03-21 16:37:24 -04:00
1 parent 6b004ba0db
commit 1cfb3f2f8c
1 file changed
+1 -1
+1 -1
View File
@@ -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;