Skip to content

Commit

Permalink
change: Use suggested fog color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FlashyReese authored Dec 30, 2023
1 parent e44692e commit 5fe709c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5fe709c

Please sign in to comment.