Sodium

Sodium

44M Downloads

Smooth lighting off causes slabs, stairs, to be lit incorrectly.

EpiphanyThoughts opened this issue ยท 2 comments

commented

Version information

sodium-fabric-mc1.20-0.4.10+build.27

Expected Behavior

Faces of stairs and slabs that are disconnected from light should not appear directly lit.

Actual Behavior

Faces of stairs and slabs that are disconnected from light appear directly lit.

Reproduction Steps

  1. Conditions: superflat world, doDaylightCycle = false, set time to night.
  2. Set brightness to moody. (for visualization purposes, bug is still present at all gamma levels)
  3. Disable smooth lighting in Video Settings > Quality.
  4. Place a light source on the ground.
  5. Directly above the light source, place a 5x5 square of top slabs.
  6. The top side of the slabs will appear lit at the same light level as the bottom face.

If these steps are repeated with Sodium disabled, light will be appear appropriately obstructed.

Java version

Java 17.0.1

CPU

Intel Core i7-9700K

GPU

NVIDIA GeForce GTX 1050 Ti

Additional information

bugged behavior
expected behavior

This behavior is not present with Smooth Lighting enabled.

commented

Can confirm.

Version Information

sodium-fabric-mc1.20-0.4.10+build.27

Java Version

Oracle JDK 19

CPU

Apple M1 Max (10 CPU Cores)

GPU

Apple M1 Max (32 GPU Cores)

commented

fixed with Sodium 0.5.0