CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.77k stars 811 forks source link

Distant Cloud Fog Coloring Issue in Sodium Mod Compared to Vanilla Minecraft #2786

Closed notwhitebear closed 3 weeks ago

notwhitebear commented 3 weeks ago

Request Description

Hello, maintainer. I have discovered a rendering issue with the Sodium mod that differs from the vanilla version in a very specific detail. In the vanilla version, when clouds are enabled, the distant clouds are colored by fog. However, when using the Sodium mod, this coloring is altered, and the fog effect is even not visible at all. This is a very detail-oriented issue, but it is important for some of us who enjoy playing older versions or versions with OptiFine. If possible, I would like to request that you address this detail. Below are two comparison images: (The first one is from the vanilla version, and the second one is from Sodium.) 2024-10-01_13 06 37 2024-10-01_13 04 52

Felix14-v2 commented 3 weeks ago

The thing is that the behavior in the first screenshot is a bug, not the intended behavior — the cloud tinting has been broken for ages. That was fixed in Sodium after optimizing the cloud renderer, if I remember correctly.

notwhitebear commented 3 weeks ago

I understand it’s a bug in the vanilla version. However, I personally enjoy this effect and would love to see an option in Sodium to enable or disable fog tinting for clouds.

jellysquid3 commented 3 weeks ago

You can revert back to Minecraft's original cloud rendering if you don't like this effect. There isn't an option in the Video Settings menu for it, but you can add the following line of text to your config/sodium-mixin.properties file:

mixin.features.render.world.clouds=false