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

Custom block models are incorrectly lit at low light levels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 21w40a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 3, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Release Candidate 1, 1.18.1, 1.19.3, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.2, 1.20.4, 24w05b, 1.20.6, 1.21, 1.21.1, 24w36a, 1.21.2 Pre-Release 3, 24w44a, 1.21.3, 24w46a, 1.21.4
    • None
    • Confirmed
    • Textures and models
    • Normal
    • Platform

      When using custom models for blocks (such as dripstone) the game will sometimes incorrectly render some faces of the model fully bright.

      It happens when the block is on the edge between 1 and 0 block/sky light.

      I don't think this should be classified as invalid because even tough it's only visible on non-vanilla block models this is a problem with the rendering engine itself rather than the texturepack.

      Steps To Reproduce

      1. Download and enable this resource pack bright_kelp.zip
      2. Go into the ocean
      3. Find kelp
      4. Observe the kelp becoming bright on the transition from 1 to 0 skylight

      Alternatively

      1. Download and enable the resource pack Enhanced Dripstone v1.1.zip
      2. Place down a torch
      3. Dig a 13 block long tunnel away from the torch (as shown in attachment below)
      4. Place a barrier block on the 12th block and a dripstone on top of it
      5. Observe the bug

      Expected Behavior

      These blocks wouldn't be fully lit at very low light levels

      Observed Behavior

      They are.

        1. Enhanced Dripstone v1.1.zip
          8 kB
        2. bright_kelp.zip
          2 kB
        3. 2024-06-22_15.16.11.png
          2024-06-22_15.16.11.png
          311 kB
        4. 2024-06-22_15.04.57.png
          2024-06-22_15.04.57.png
          311 kB
        5. 2024-06-22_15.04.33.png
          2024-06-22_15.04.33.png
          201 kB
        6. 2021-10-08_16.04.43.png
          2021-10-08_16.04.43.png
          1.78 MB
        7. 2021-10-08_16.04.39.png
          2021-10-08_16.04.39.png
          1.47 MB

            Unassigned Unassigned
            Ceresjanin123 Ceresjanin123
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: