why did I do this

This commit is contained in:
Merlin1809 committed 2025-06-14 12:58:02 +02:00
1 parent d594e394b0
commit a56cee64dd
1 file changed
+1 -1
+1 -1
View File
@@ -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;