Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Lighting error with sodium when lightmaps are prevented from updating

AnOpenSauceDev opened this issue ยท 1 comments

commented

Version information

sodium-fabric-mc1.19.4-0.4.10+build.24, but quite a few other versions also had this bug.

Expected Behavior

With my mod Methane, lightmaps and light updates are removed. This creates a "fullbright" effect, while improving perfomance. I expect to be able to toggle the mod at will, and for things to be mostly the same.

Actual Behavior

At first, everything is bright and works well, but after toggling from OFF to ON, everything becomes infinitely dark, unlike vanilla minecraft, where things stay bright. I think that this has something to do with sodium and how it handles lighting.

With Sodium

before

Without Sodium

after

Reproduction Steps

Join a world
toggle methane OFF
re-join
toggle methane ON,
re-join
terrain will be pitch black.

(essentially cycling the mod)

Java version

OpenJDK 17

CPU

AMD Ryzen 3500X

GPU

Nvidia Geforce RTX 3060 Ti Lite Hash Rate

Additional information

Mods used

  • Methane (1.6.5 (nearly identical to latest commit))
  • Sodium (sodium-fabric-mc1.19.4-0.4.10+build.24.jar)
  • Fabric API (0.76.0+1.19.4 via ModImplementation)
  • Mod Menu (6.1.0-rc.4 via ModImplementation)
  • Cloth Config (10.0.96 via ModImplementation)
commented

I'm pretty sure i fixed this a while ago myself... Closing.