mojira.dev
MC-148762

Faces of the elements of block models go up to black if there are blocks next to them / Block lighting is applied incorrectly

The bug

If a block model has elements inside or outside the block's boundaries, their faces will go up to fully black if you place blocks around them. All faces of model elements are treated as if they were directly at the block's boundaries.
Important note: this bug is partially dependent on ambient occlusion (smooth lighting). If the smooth lighting is turned off, only the top and bottom faces get darker. If it's turned on, the west/east/north/south sides also get affected.

Without smooth lighting:

[media]

With smooth lighting:

[media]

Steps to reproduce

Install the attached test resource pack and try placing chiseled quartz blocks next to each other.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media]
migrated

still occurs on 1.16.2

migrated

can confirm for 21w07a

migrated

Can confirm in 21w15a.

migrated

Issue also occurs on extended pistons.

migrated

Issue still occurs on 1.19.4

_zombiehunter

Still happens in 1.20.4

muzikbike

I may or may not be experiencing this issue in 23w51b - screenshots and example resource pack attached (use nether bricks and prismarine bricks).

1LotS

(Unassigned)

Community Consensus

Platform

Normal

Textures and models

block-model, lighting, rendering

Minecraft 1.13.2, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, ..., 1.19, 1.19.4, 23w13a, 1.21.5, 25w19a

Retrieved