mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-03 16:13:30 +08:00
fix fog in caves
This commit is contained in:
parent
6b004ba0db
commit
1cfb3f2f8c
@ -147,7 +147,7 @@ vec4 GetVolumetricFog(
|
|||||||
skyLightPhased = max(skyLightPhased + skyLightPhased*(normalize(wpos).y*0.9+0.1),0.0);
|
skyLightPhased = max(skyLightPhased + skyLightPhased*(normalize(wpos).y*0.9+0.1),0.0);
|
||||||
LightSourcePhased *= mie;
|
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
|
#ifdef RAYMARCH_CLOUDS_WITH_FOG
|
||||||
vec3 SkyLightColor = AmbientColor;
|
vec3 SkyLightColor = AmbientColor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user