From 7fe056d00e33b5fed71bcec61bb56f3ff7275cee Mon Sep 17 00:00:00 2001 From: Xonk Date: Wed, 12 Mar 2025 01:21:37 -0400 Subject: [PATCH] clear compile error if only small cumulus clouds are enabled --- 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 e81b5eb..a76e7dd 100644 --- a/shaders/lib/volumetricClouds.glsl +++ b/shaders/lib/volumetricClouds.glsl @@ -541,7 +541,7 @@ vec4 GetVolumetricClouds( ////------- BLEND LAYERS #if defined CloudLayer0 && !defined CloudLayer1 && !defined CloudLayer2 - cloudPlaneDistance = cloudLayer1_Distance.x; + cloudPlaneDistance = cloudLayer0_Distance.x; #endif #if defined CloudLayer0 && defined CloudLayer1 && !defined CloudLayer2