Mojira Archive
MC-276977

Non-tangential planes in block models still z-fight when viewed from a distance

Custom block models added to the game via resource packs may use elements which are slightly offset from one another to give the appearance of being co-planar without causing z-fighting artifacts. However, when viewed from a great enough distance these planes still flicker.

Steps to Reproduce:

  1. Download and apply the provided demo resource pack.
  2. Place down a White Wool block. Observe the Red Wool-textured model element which extends slightly outwards from the base cube.
  3.  Travel away from the White Wool while observing it through a Spyglass.

Observed Results:
The White Wool and Red Wool elements begin z-fighting more and more as the player travels further away from the block.

Expected Results:
The larger element, textured with Red Wool, exclusively renders on top.

Notes:
Three attachments are provided. Z-Fighting Demo.zip, the bug demo resource pack in ZIP format, and two screenshots showing the bug using the resource pack. element_scale.png shows the slight difference in size between the two elements in the block model. z-fighting.png shows the unexpected z-fighting caused by these elements.

Unresolved

PopitTart

2024-09-26, 10:43 AM

2024-10-02, 07:15 AM

1

2

Confirmed

Low

Platform

Rendering

1.21.1, 24w39a

-