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
is duplicated by
relates to
Attachments
Comments


still occurs on 1.16.2

can confirm for 21w07a

Can confirm in 21w15a.

Issue also occurs on extended pistons.

Issue still occurs on 1.19.4

Still happens in 1.20.4

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