mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-22 09:38:52 +08:00
fix tiny VL clouds issue
This commit is contained in:
parent
bbc1ce5a9f
commit
5d0ff0856f
@ -384,7 +384,7 @@ vec4 GetVolumetricClouds(
|
|||||||
#if defined DISTANT_HORIZONS
|
#if defined DISTANT_HORIZONS
|
||||||
float maxdist = dhFarPlane;
|
float maxdist = dhFarPlane;
|
||||||
#else
|
#else
|
||||||
float maxdist = far*4.0;
|
float maxdist = far + 16.0*5.0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float lViewPosM = length(viewPos) < maxdist ? length(viewPos) - 1.0 : 100000000.0;
|
float lViewPosM = length(viewPos) < maxdist ? length(viewPos) - 1.0 : 100000000.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user