mojira.dev
MC-259368

Z-fighting occurs on trimmed armor items

Armor customized trim effects causes z-fighting when holding item.

Steps to reproduce:

1. Apply trim on any armor
2. Hold said armor in your hand
3. Notice that some pixels are z-fighting

Linked issues

MC-280437 Z-fighting on item models using 2 or more models Resolved MC-269498 Pixel Glitch In the armour Resolved MC-266407 Z-fighting on trimmed armor Resolved MC-259784 Trims are flickering on side when holding modified Item in hand Resolved MC-264765 Z-fighting occurs between the existing pixels of a turtle helmet sprite in an item frame Resolved

Attachments

Comments 9

Can confirm in 1.20.1

Still a problem in 1.20.4

Can confirm in 25w10a

Still confirmed in 1.21.5 Pre-Release 1

Still confirmed in 1.21.5

This occurs with all composite models that use the item/generated mesh
I ran into this issue while making this resource pack

was able to fix it by making a pseudo-mesh that has 256 cubes
https://modrinth.com/resourcepack/flaming-fire-aspect

migrated

(Unassigned)

Confirmed

Platform

Normal

Rendering, Textures and models

z-fighting

23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 2, , 1.20.6, 1.21, 24w33a, 1.21.2 Pre-Release 1, 25w02a

25w44a

Retrieved