fix tiny VL clouds issue

This commit is contained in:
Xonk 2024-11-18 16:22:17 -05:00
parent bbc1ce5a9f
commit 5d0ff0856f

View File

@ -384,7 +384,7 @@ vec4 GetVolumetricClouds(
#if defined DISTANT_HORIZONS
float maxdist = dhFarPlane;
#else
float maxdist = far*4.0;
float maxdist = far + 16.0*5.0;
#endif
float lViewPosM = length(viewPos) < maxdist ? length(viewPos) - 1.0 : 100000000.0;