[PR #4803] [CLOSED] Stop End portal starfield punching holes through itself #5860

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4803
Author: @WooCaash
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: fix/4237-end-portal


📝 Commits (2)

  • f30bb13 Stop End portal starfield punching black holes through itself.
  • cf4bbae rustfmt block_entity_render for end portal PR.

📊 Changes

3 files changed (+36 additions, -6 deletions)

View changed files

📝 crates/horizon-client-render/src/block_entity_render.rs (+24 -4)
📝 crates/horizon-client-render/src/entity.wgsl (+6 -1)
📝 crates/horizon-client-render/src/hud.wgsl (+6 -1)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Summary

  • End portal slabs submitted both Up and Down faces; under wgpu reverse-Z the Down face punched black holes through the starfield (#4237).
  • Only the top face is submitted now (what players look at).
  • Portal atlas sampling insets UVs by half a texel so bilinear wraps do not bleed neighbouring sprites (vanilla uses standalone GL_REPEAT textures).

Test plan

  • Unit test: portal cube vertices sit at y=0.75 with layer 9
  • In-game: /fill a 3×3 end_portal on stone, spectator look from above and from the side — starfield continuous, no black punch-through
  • Visual check on Intel iGPU if available (reporter's platform)

Fixes #4237

🤖 Generated with Cursor

Made with Cursor


🔄 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/4803 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/4237-end-portal` --- ### 📝 Commits (2) - [`f30bb13`](https://github.com/horizon-rust/horizon/commit/f30bb13ce2d8403a6d2477840c6dd8b5b5012200) Stop End portal starfield punching black holes through itself. - [`cf4bbae`](https://github.com/horizon-rust/horizon/commit/cf4bbae9ce2bd7c59df2e58a4131490bd0d4800f) rustfmt block_entity_render for end portal PR. ### 📊 Changes **3 files changed** (+36 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/block_entity_render.rs` (+24 -4) 📝 `crates/horizon-client-render/src/entity.wgsl` (+6 -1) 📝 `crates/horizon-client-render/src/hud.wgsl` (+6 -1) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. ## Summary - End portal slabs submitted both Up and Down faces; under wgpu reverse-Z the Down face punched black holes through the starfield (#4237). - Only the top face is submitted now (what players look at). - Portal atlas sampling insets UVs by half a texel so bilinear wraps do not bleed neighbouring sprites (vanilla uses standalone `GL_REPEAT` textures). ## Test plan - [x] Unit test: portal cube vertices sit at y=0.75 with layer 9 - [x] In-game: `/fill` a 3×3 `end_portal` on stone, spectator look from above and from the side — starfield continuous, no black punch-through - [ ] Visual check on Intel iGPU if available (reporter's platform) Fixes #4237 🤖 Generated with [Cursor](https://cursor.com) Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:30 +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#5860
No description provided.