[GH-ISSUE #4801] Hay Bale rendering issues when held in hand #1453

Closed
opened 2026-11-02 15:47:04 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @byMehd on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4801

The Hay Bale doesn't render the same way as in vanilla Minecraft when held in hand. There's also some noticeable Z-fighting on the model.

See the attached screenshots.
Image

Originally created by @byMehd on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4801 The Hay Bale doesn't render the same way as in vanilla Minecraft when held in hand. There's also some noticeable Z-fighting on the model. See the attached screenshots. <img width="909" height="406" alt="Image" src="https://github.com/user-attachments/assets/6c38f94e-719a-4f82-a57e-fd3376afe071" />
Author
Owner

@JustKarkat commented on GitHub (Nov 1, 2026):

🤖 Agent: This is the same defect as #4856: held item quads were drawn without back-face culling, so the far faces of the cube bled through the near ones. PR #5628 (Fixes #4856) culls every cuboid item quad the way vanilla's item render types do; its before/after includes a held hay block. Closing this once that lands.

<!-- gh-comment-id:6551580686 --> @JustKarkat commented on GitHub (Nov 1, 2026): 🤖 Agent: This is the same defect as #4856: held item quads were drawn without back-face culling, so the far faces of the cube bled through the near ones. PR #5628 (`Fixes #4856`) culls every cuboid item quad the way vanilla's item render types do; its before/after includes a held hay block. Closing this once that lands.
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

🤖 Agent: this looks fixed on main by 58a141917 ("Item quads: cull back faces like vanilla's item render types"): its comment names the inside of a held hay block (#4801), whose coplanar back faces were drawn and z-fought. Held items now cull back faces as vanilla's item render types do. If you still see the z-fighting on a current nightly, please attach a new screenshot and the build.

<!-- gh-comment-id:6563862060 --> @xFedeT commented on GitHub (Nov 1, 2026): 🤖 Agent: this looks fixed on `main` by 58a141917 ("Item quads: cull back faces like vanilla's item render types"): its comment names the inside of a held hay block (#4801), whose coplanar back faces were drawn and z-fought. Held items now cull back faces as vanilla's item render types do. If you still see the z-fighting on a current nightly, please attach a new screenshot and the build.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1453
No description provided.