AnOpenSauceDev/Methane-mod

Lighting is messed up

Opened this issue · 7 comments

🔥 Something broke!

Description of what happened

I am flying around my redstoner's superflat world and I look at one of my farms and see this:
2024-05-19_12 52 07

Mods used

I am only listing out the rendering and lighting/shaders mods I was using.

  • Sodium
  • Bad Optimizations
  • Bobby
  • Indium
  • Iris
  • Noisium
  • Noxesium
  • Nvidium
  • Methane
  • Continuity

Methane Version

3.3.0, 1.20-1.20.4

possible ways to replicate this bug

Don't know, I just stumbled across it.

Odd, unless you're using the old lighting system via the config, this shouldn't happen. If you've toggled the status in the world, then that could just be a rendering bug.

The old lighting system was off when I took that screenshot. Also I found it after updating methane from version 3.3.0 to 3.6.0.

By the way, I just noticed that I put the wrong version of methane as the one with the bug in my first comment. To clarify; the methane version with the bug is version 3.6.0.

Sorry for the delay, this just seems to be an issue with how Methane works with pre-lit things. What I'm assuming is that the bright part of the farm already has lighting data loaded, which Methane then brightens. Unfortunately Methane brightens the shading of chunks without checking lighting data first for performance's sake. If you've toggled more than once in a session with Methane, this tends to happen (because the renderer now knows about the lighting data).

Ok. Also I have noctied that in Methane 3.6.0 blocks are extremely lit up and I personally don't like it, probably because I am not used to it.

That's because of Dynamic Shading. It looks like optifine's shading as a result of how it changes lighting itself. Disabling it and re-logging should make everything look normal.

Ok thank you.