mojira.dev
MC-238573

Custom block models are incorrectly lit at low light levels

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.

[media]

[media]

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

[media]
  1. Go into the ocean

  2. Find kelp

  3. Observe the kelp becoming bright on the transition from 1 to 0 skylight

Alternatively

  1. Download and enable the resource pack

[media]
  1. Place down a torch

  2. Dig a 13 block long tunnel away from the torch (as shown in attachment below)

  3. Place a barrier block on the 12th block and a dripstone on top of it

  4. Observe the bug

[media]

Expected Behavior

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

Observed Behavior

They are.

Linked issues

Attachments

Comments 2

I can confirm but this is invalid (modified game)

Turn off the resource pack. If the issue persists, I suggest recreating the issue without the resource pack. If its the pack, its probably broken or designed that way.

Ceresjanin123

(Unassigned)

Confirmed

Platform

Normal

Textures and models

21w40a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, ..., 1.21.2 Pre-Release 3, 24w44a, 1.21.3, 24w46a, 1.21.4

Retrieved