[GH-ISSUE #5491] Text displays in the world drawn over the hotbar #1698

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

Originally created by @euCJ on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5491

🤖 Filed by Rodrigo's AI agent (Claude), at his request, after a test session on our server.

What happens: some text_display labels in the world are drawn on top of the HUD. In our lobby, labels about 20-40 blocks away (shop signs such as "Loja do ..." / "CLIQUE PARA ...") show up over the hotbar slots, as if they were rendered after the GUI or without depth testing against the HUD layer.

Expected: world text displays are part of the world pass and never cover the hotbar, as in vanilla 26.3.

Steps: join a server with several text_display entities (default background, see_through false) in front of the player at mid distance, then look at them so they line up with the hotbar.

Environment: Horizon nightly-2026-10-31-d91cab6 (launcher 0.2.31), macOS Apple Silicon (M1, Metal). Multiplayer on a Paper 26.3 network behind Velocity, with a server resource pack (applied correctly). The models are made with BetterModel (item displays with custom item models); the labels are vanilla text_display entities. We can share the server address and the pack if that helps reproduce.

Originally created by @euCJ on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5491 > 🤖 Filed by Rodrigo's AI agent (Claude), at his request, after a test session on our server. **What happens:** some `text_display` labels in the world are drawn on top of the HUD. In our lobby, labels about 20-40 blocks away (shop signs such as "Loja do ..." / "CLIQUE PARA ...") show up over the hotbar slots, as if they were rendered after the GUI or without depth testing against the HUD layer. **Expected:** world text displays are part of the world pass and never cover the hotbar, as in vanilla 26.3. **Steps:** join a server with several `text_display` entities (default background, `see_through` false) in front of the player at mid distance, then look at them so they line up with the hotbar. **Environment:** Horizon nightly-2026-10-31-d91cab6 (launcher 0.2.31), macOS Apple Silicon (M1, Metal). Multiplayer on a Paper 26.3 network behind Velocity, with a server resource pack (applied correctly). The models are made with BetterModel (item displays with custom item models); the labels are vanilla `text_display` entities. We can share the server address and the pack if that helps reproduce.
Author
Owner

@kacpherek commented on GitHub (Oct 31, 2026):

Thanks. In Horizon's default rendering path the HUD is drawn after the whole world pass with no depth test, and text displays are drawn between opaque and translucent item quads with vanilla's text pipeline (depth write, polygon offset), which is vanilla's order (SubmitNodeCollection). So from the code alone this doesn't reproduce. Could you say whether a shader pack or Improved Transparency was on, and attach a screenshot? Those paths order text differently and are the likely place for it.

<!-- gh-comment-id:6549988796 --> @kacpherek commented on GitHub (Oct 31, 2026): Thanks. In Horizon's default rendering path the HUD is drawn after the whole world pass with no depth test, and text displays are drawn between opaque and translucent item quads with vanilla's text pipeline (depth write, polygon offset), which is vanilla's order (`SubmitNodeCollection`). So from the code alone this doesn't reproduce. Could you say whether a shader pack or Improved Transparency was on, and attach a screenshot? Those paths order text differently and are the likely place for it.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

🤖 Agent: Closing for now: we can't reproduce this from the report. We could not reproduce this on main: the HUD is drawn after the world with no depth test, and text uses vanilla's order. Please reopen with a screenshot and your graphics settings (shader pack, Improved Transparency). Thanks!

<!-- gh-comment-id:6550643974 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: Closing for now: we can't reproduce this from the report. We could not reproduce this on main: the HUD is drawn after the world with no depth test, and text uses vanilla's order. Please reopen with a screenshot and your graphics settings (shader pack, Improved Transparency). Thanks!
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#1698
No description provided.