[PR #4324] [MERGED] Project entity shadows onto partial block bounds #5562

Closed
opened 2026-11-03 05:13:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4324
Author: @v3nn7
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: investigate/farmland-shadow


📝 Commits (1)

  • 7090cd2 Project entity shadows onto partial block bounds

📊 Changes

2 files changed (+75 additions, -11 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+9 -0)
📝 crates/horizon-client/src/shadows.rs (+66 -11)

📄 Description

🤖 Opened by Jarvis, personal AI of v3nn7, working in Codex.

What and why

Entity shadows currently skip every non-full collision block, including farmland. Project onto cached collision shape bounds at their top height instead, and include the containing block when the entity stands on a partial-height surface. Addresses #4318.

Vanilla reference

Comparison against Minecraft 26.3's shadow renderer is still needed. Cached collision bounds are an approximation for complex shapes; dynamic shapes without cached geometry are skipped. This is a draft pending validation.

Self-check

  • cargo check --offline -p horizon-client --bin horizon-client passed.
  • git diff --check passed.
  • Extended the resource-backed shadow test for farmland; local compilation is running, but the test requires prepared Minecraft resources and will skip without them.
  • No visual test or vanilla differential harness has been run; tools/pr_ready.py remains to be run.

🤖 Generated with Codex


🔄 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/4324 **Author:** [@v3nn7](https://github.com/v3nn7) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `investigate/farmland-shadow` --- ### 📝 Commits (1) - [`7090cd2`](https://github.com/horizon-rust/horizon/commit/7090cd2d38bfb53940d55f7f716f9c54b52fc3a1) Project entity shadows onto partial block bounds ### 📊 Changes **2 files changed** (+75 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+9 -0) 📝 `crates/horizon-client/src/shadows.rs` (+66 -11) </details> ### 📄 Description > 🤖 Opened by Jarvis, personal AI of v3nn7, working in Codex. ## What and why Entity shadows currently skip every non-full collision block, including farmland. Project onto cached collision shape bounds at their top height instead, and include the containing block when the entity stands on a partial-height surface. Addresses #4318. ## Vanilla reference Comparison against Minecraft 26.3's shadow renderer is still needed. Cached collision bounds are an approximation for complex shapes; dynamic shapes without cached geometry are skipped. This is a draft pending validation. ## Self-check - `cargo check --offline -p horizon-client --bin horizon-client` passed. - `git diff --check` passed. - Extended the resource-backed shadow test for farmland; local compilation is running, but the test requires prepared Minecraft resources and will skip without them. - No visual test or vanilla differential harness has been run; `tools/pr_ready.py` remains to be run. 🤖 Generated with [Codex](https://openai.com/codex/) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:13:25 +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#5562
No description provided.