From 16a2895f424243df102ffbf2562abdf68bdf02c3 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Fri, 25 Oct 2024 19:26:47 -0700 Subject: [PATCH] Fix clouds not being translucent This fixes #2842. --- .../mods/sodium/client/render/immediate/CloudRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/immediate/CloudRenderer.java b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/immediate/CloudRenderer.java index bd857854c3..ee6adf9b95 100644 --- a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/immediate/CloudRenderer.java +++ b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/immediate/CloudRenderer.java @@ -111,7 +111,7 @@ public void render(Camera camera, RenderSystem.disableCull(); } - RenderSystem.setShaderColor(ARGB.from8BitChannel(ARGB.red(color)), ARGB.from8BitChannel(ARGB.green(color)), ARGB.from8BitChannel(ARGB.blue(color)), 1.0F); + RenderSystem.setShaderColor(ARGB.from8BitChannel(ARGB.red(color)), ARGB.from8BitChannel(ARGB.green(color)), ARGB.from8BitChannel(ARGB.blue(color)), 0.8F); vertexBuffer.bind();