From 5fe709c309894a32b469715b5aee77ea308c1b1e Mon Sep 17 00:00:00 2001 From: Yao Chung Hu <30311066+FlashyReese@users.noreply.github.com> Date: Sat, 30 Dec 2023 08:58:46 +0800 Subject: [PATCH] change: Use suggested fog color changes --- .../mods/sodiumextra/mixin/fog/MixinBackgroundRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/flashyreese/mods/sodiumextra/mixin/fog/MixinBackgroundRenderer.java b/src/main/java/me/flashyreese/mods/sodiumextra/mixin/fog/MixinBackgroundRenderer.java index 5120374d..603d66d8 100644 --- a/src/main/java/me/flashyreese/mods/sodiumextra/mixin/fog/MixinBackgroundRenderer.java +++ b/src/main/java/me/flashyreese/mods/sodiumextra/mixin/fog/MixinBackgroundRenderer.java @@ -33,7 +33,7 @@ private static void applyFog(Camera camera, BackgroundRenderer.FogType fogType, if (camera.getSubmersionType() == CameraSubmersionType.NONE && (thickFog || fogType == BackgroundRenderer.FogType.FOG_TERRAIN)) { float fogStart = (float) SodiumExtraClientMod.options().renderSettings.fogStart / 100; if (fogDistance == 33) { - RenderSystem.setShaderFogColor(0f, 0f, 0f, 0f); + RenderSystem.setShaderFogColor(1f, 1f, 1f, 0f); //RenderSystem.setShaderFogStart(Short.MAX_VALUE - 1 * fogStart); //RenderSystem.setShaderFogEnd(Short.MAX_VALUE); } else {