From fa9608c8593cf51e96998022e46e936d36e36929 Mon Sep 17 00:00:00 2001 From: Xonk Date: Wed, 14 Jun 2023 18:45:54 -0400 Subject: [PATCH] Forgot to put this back hahaah... --- shaders/lib/volumetricClouds.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shaders/lib/volumetricClouds.glsl b/shaders/lib/volumetricClouds.glsl index 932f536..a243bcc 100644 --- a/shaders/lib/volumetricClouds.glsl +++ b/shaders/lib/volumetricClouds.glsl @@ -215,7 +215,7 @@ vec4 renderClouds( vec3 dV_view = normalize(fragpos.xyz); - // dV_view.y += 0.05; + dV_view.y += 0.05; vec3 dV_view2 = dV_view; float mult2 = length(dV_view2); @@ -337,7 +337,7 @@ vec4 renderClouds( // Assume fog color = sky gradient at long distance vec3 fogColor = skyFromTex(normView, colortex4)/150. * 5.0; float dist = max(cameraPosition.y+CumulusHeight,max(CumulusHeight,150))/(abs(normView.y)+0.001); - float fog = exp(dist / -15000.0 * (1.0+rainCloudwetness*8.)); + float fog = exp(dist / -5000.0 * (1.0+rainCloudwetness*8.)); // if(IntersecTerrain) fog = 1.0;