Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-264540

Magma blocks and sculk sensors light up surrounding blocks brighter than they should, when smooth lighting is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.1, 23w31a, 23w32a, 23w33a, 1.20.2, 1.21, 24w33a, 1.21.1, 24w36a, 1.21.3, 1.21.4 Pre-Release 3, 1.21.4
    • Confirmed
    • Rendering
    • Normal
    • Platform

      Some blocks with emissive properties such as the magma block or sculk sensor seem to light up surrounding blocks brighter than they should, acting as reverse ambient occlusion, making them seem to leak light into other blocks, where it shouldn't be the case as is explained below.

      Sculks sensors

      Sculk sensors emit a light level of 1, meaning that they should only emit light in the origin block and not lit adjacent blocks. However this doesn't seem to be the case, and they end up leaking light into adjacent (unlit) blocks with even brighter light than it should:

      With smooth lighting disabled, the behavior works as expected, where only the sensor is lighted up (no other blocks) and how it should work taking the light block on the right as reference:

      Magma blocks

      Magma blocks behave almost the same as sculk sensors, they end up lighting the adjacent blocks brighter than they should, whereas the light block on the left retains the expected look:

      With smooth lighting disabled, it also matches the light block which is expected:

      Expected result

      The "bright diamond" shape (lighten up AO) wouldn't appear around these blocks at all or significantly reduce their brightness, making it consistent with light levels matching light blocks and other light emitting blocks.

      How to reproduce

      1. You need to be in an enviroment with no block/sky light, such as a cave or empty box.
      2. Place an (active) sculk sensor and a light block with level 1 close to it.
      3. Compare the lighting of these blocks.
      4. Place a magma block and a light block with level 3 close to it.
      5. Also compare the lighting of these blocks.
      6. Notice the inconsistencies.

        1. 2023-08-01_23.10.27.png
          196 kB
          syarumi
        2. 2023-08-01_23.10.32.png
          141 kB
          syarumi
        3. 2023-08-01_23.11.35.png
          246 kB
          syarumi
        4. 2023-08-01_23.11.41.png
          163 kB
          syarumi
        5. 2023-08-06_00.18.47.png
          280 kB
          syarumi
        6. 2023-08-06_00.38.56.png
          325 kB
          syarumi

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            6 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: