From 3031f64401a489b25e0c52577373c6a0bfbb89fd Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Thu, 12 Mar 2026 00:53:50 +0300 Subject: [PATCH] fix: restore rainfall visibility by removing top edge transparency --- Minecraft.Client/Rendering/GameRenderer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Rendering/GameRenderer.cpp b/Minecraft.Client/Rendering/GameRenderer.cpp index 6aae7c93e..f72b6b7a0 100644 --- a/Minecraft.Client/Rendering/GameRenderer.cpp +++ b/Minecraft.Client/Rendering/GameRenderer.cpp @@ -1756,7 +1756,8 @@ void GameRenderer::renderSnowAndRain(float a) t->color(br, br, br, ((1 - dd * dd) * 0.5f + 0.5f) * rainLevel); t->vertexUV(x - xa + 0.5, yy0, z - za + 0.5, 0 * s, yy0 * s / 4.0f + ra * s); t->vertexUV(x + xa + 0.5, yy0, z + za + 0.5, 1 * s, yy0 * s / 4.0f + ra * s); - t->color(br, br, br, 0.0f); // 4J - added to soften the top visible edge of the rain + // 4jcraft: this color call made rain invisible + // t->color(br, br, br, 0.0f); // 4J - added to soften the top visible edge of the rain t->vertexUV(x + xa + 0.5, yy1, z + za + 0.5, 1 * s, yy1 * s / 4.0f + ra * s); t->vertexUV(x - xa + 0.5, yy1, z - za + 0.5, 0 * s, yy1 * s / 4.0f + ra * s); #endif