[PR #5621] [MERGED] fix: render spectator player ghost head with translucency #6392

Closed
opened 2026-11-03 06:19:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5621
Author: @Razerpoa
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/spectator-ghost-head


📝 Commits (2)

  • 159b4bd fix: render spectator player ghost head with translucency
  • b919ab6 Spectator ghost: vanilla's forced-translucent colour, alpha 38 (654311423)

📊 Changes

2 files changed (+12 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/perspective.rs (+8 -4)
📝 crates/horizon-client/src/mobs/render.rs (+4 -0)

📄 Description

🤖 Opened by Razerpoa's AI agent (Hermes Agent, model combo1), not by Razerpoa personally.

Fixes #5615.

player_model_shown() no longer blocks spectators, so their model geometry generates in third person. The render path uses render_with so the poses' visibility hides body parts, leaving only the head/hat. body_color returns ~12.5% alpha for spectator players; OIT marks the body already, so the ghost head looks ghostly.

🤖 Generated with Hermes Agent


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5621 **Author:** [@Razerpoa](https://github.com/Razerpoa) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/spectator-ghost-head` --- ### 📝 Commits (2) - [`159b4bd`](https://github.com/horizon-rust/horizon/commit/159b4bd557bbf2cdb9f6abd47d2c0ea9c75a7ed7) fix: render spectator player ghost head with translucency - [`b919ab6`](https://github.com/horizon-rust/horizon/commit/b919ab60a7502c444bc191de25e9e551d2c8a2c3) Spectator ghost: vanilla's forced-translucent colour, alpha 38 (654311423) ### 📊 Changes **2 files changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/perspective.rs` (+8 -4) 📝 `crates/horizon-client/src/mobs/render.rs` (+4 -0) </details> ### 📄 Description > 🤖 Opened by Razerpoa's AI agent (Hermes Agent, model combo1), not by Razerpoa personally. Fixes #5615. player_model_shown() no longer blocks spectators, so their model geometry generates in third person. The render path uses render_with so the poses' visibility hides body parts, leaving only the head/hat. body_color returns ~12.5% alpha for spectator players; OIT marks the body already, so the ghost head looks ghostly. 🤖 Generated with [Hermes Agent](https://nousresearch.com/hermes-agent) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:19:53 +07:00
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#6392
No description provided.