mojira.dev
MC-85133

Back-face culling is not enabled for items held in 3rd person

Items in 3rd person don't use back-face culling, which causes a few issues.

For one, items/blocks don't render like this anywhere else in the game. Now I don't like back-face culling, but having it gone here and nowhere else isn't that great.

Secondly, it causes Z-fighting in certain scenarios:

Cross-models. even though they consist of only 2 elements that don't overlap, opposing faces (east and west, north and south) render even though they shouldn't. Attached is a debug pack that includes an arrow model that is affected by this.

Anti-back-face culling tricks. While the option "two-sided" existed for a short time, that was removed and now there is no supported way to disable back-face culling on faces or elements/blocks. Devs will respond to that with "just use an inverted element" which, due to this bug, results in z-fighting unless compensated for (especially when it may otherwise not be needed).

General models. Because some people might make models based on the fact that back-face culling exists everywhere else in the game, it's odd to have it in one place where it's permanently off for everything.

Attachments

Comments

migrated
[media][media][media]
migrated

Confirmed for 15w44b.

Asteraoth

Confirmed for 18w32a

Asteraoth

Confirmed for 18w33a

TheBoy358

I think that is fixed in 19w46b.

Asteraoth

Fixed in a 1.15 snapshot.

Asteraoth

(Unassigned)

Confirmed

(Unassigned)

culling, rendering, z-fighting

Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w32c, ..., Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.3

1.15

Retrieved