From 5d0ff0856f41ca03e42bf0ec6748f7e74ab5814f Mon Sep 17 00:00:00 2001 From: Xonk Date: Mon, 18 Nov 2024 16:22:17 -0500 Subject: [PATCH] fix tiny VL clouds issue --- shaders/lib/volumetricClouds.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lib/volumetricClouds.glsl b/shaders/lib/volumetricClouds.glsl index ff9a6cd..4909d38 100644 --- a/shaders/lib/volumetricClouds.glsl +++ b/shaders/lib/volumetricClouds.glsl @@ -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;