[PR #188] [MERGED] Fix pixelated Classic menu panorama #2389

Closed
opened 2026-11-02 15:55:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/188
Author: @rdbtCVS
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @ludovic111

Base: main ← Head: fix/title-panorama-quality


📝 Commits (1)

  • 42eda64 Render Classic menu panorama with vanilla cube-map filtering

📊 Changes

6 files changed (+409 additions, -104 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+5 -86)
📝 crates/horizon-client/src/game/packs.rs (+2 -0)
📝 crates/horizon-client/src/gfx.rs (+25 -3)
➕ crates/horizon-client/src/gfx/panorama.rs (+346 -0)
➕ crates/horizon-client/src/gfx/panorama.wgsl (+30 -0)
📝 crates/horizon-client/src/hud.rs (+1 -15)

📄 Description

Classic menus still displayed a pixelated panorama after importing the full textures: Horizon reduced each 1024×1024 face to 256×256 and sampled it with nearest filtering from the GUI atlas.

Render the original faces in a dedicated, linearly filtered cube map, following Minecraft 26.3's face order, vertical image flip, 85-degree projection and camera rotations. Load the panorama again on resource-pack reload, and retain a cosmetic fallback when textures are missing or malformed. This follows up on #162's asset import fix.

Validation:

  • Four panorama regression tests pass, covering every original texel, cube orientation, placeholders, incomplete/mismatched faces, camera projection and shader validation.
  • Eight existing renderer tests pass.
  • cargo clippy --locked -p horizon-client --lib --bin horizon-client -- -D warnings
  • cargo build --locked --release -p horizon-client --bin horizon-client
  • Formatting, public-tree and diff checks pass.
  • Captured the title and options screens at 1920×1080 in the Vulkan client under Xvfb.

Fresh screenshot from the rebuilt client:

Classic title panorama at 1920×1080


🔄 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/188 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/title-panorama-quality` --- ### 📝 Commits (1) - [`42eda64`](https://github.com/horizon-rust/horizon/commit/42eda649a8d75e1221a55010297d95ca976d291b) Render Classic menu panorama with vanilla cube-map filtering ### 📊 Changes **6 files changed** (+409 additions, -104 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+5 -86) 📝 `crates/horizon-client/src/game/packs.rs` (+2 -0) 📝 `crates/horizon-client/src/gfx.rs` (+25 -3) ➕ `crates/horizon-client/src/gfx/panorama.rs` (+346 -0) ➕ `crates/horizon-client/src/gfx/panorama.wgsl` (+30 -0) 📝 `crates/horizon-client/src/hud.rs` (+1 -15) </details> ### 📄 Description Classic menus still displayed a pixelated panorama after importing the full textures: Horizon reduced each 1024×1024 face to 256×256 and sampled it with nearest filtering from the GUI atlas. Render the original faces in a dedicated, linearly filtered cube map, following Minecraft 26.3's face order, vertical image flip, 85-degree projection and camera rotations. Load the panorama again on resource-pack reload, and retain a cosmetic fallback when textures are missing or malformed. This follows up on #162's asset import fix. Validation: - Four panorama regression tests pass, covering every original texel, cube orientation, placeholders, incomplete/mismatched faces, camera projection and shader validation. - Eight existing renderer tests pass. - `cargo clippy --locked -p horizon-client --lib --bin horizon-client -- -D warnings` - `cargo build --locked --release -p horizon-client --bin horizon-client` - Formatting, public-tree and diff checks pass. - Captured the title and options screens at 1920×1080 in the Vulkan client under Xvfb. Fresh screenshot from the rebuilt client: ![Classic title panorama at 1920×1080](https://raw.githubusercontent.com/rdbtCVS/horizon/123ec65112b2fbf5c7a3bff7acf35e6fae31221e/docs/media/classic-title-panorama.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:55:34 +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#2389
No description provided.