From a56cee64ddcd801e2f4290e046d85ad3d42e29b7 Mon Sep 17 00:00:00 2001 From: Merlin1809 Date: Sat, 14 Jun 2025 12:58:02 +0200 Subject: [PATCH] why did I do this --- shaders/dimensions/composite3.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/dimensions/composite3.fsh b/shaders/dimensions/composite3.fsh index 028bd1b..6892fe8 100644 --- a/shaders/dimensions/composite3.fsh +++ b/shaders/dimensions/composite3.fsh @@ -602,7 +602,7 @@ bool isLightning = false; float lightningDist = length(lightningpos); - if ((lightningDist < cloudDepth.r || cloudDepth.r == 0.0) && rainStrength + thunderStrength > 1.0) { + if ((lightningDist < cloudDepth.r || cloudDepth.r == 0.0) && (thunderStrength > 1.0 || rainStrength == 0.0)) { vec2 tc = (gl_FragCoord.xy - 0.5)*texelSize; float depth = z;