[PR #260] [MERGED] Honor Off, Fast and Fancy cloud settings #2444

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/260
Author: @Online5277
Created: 10/15/2026
Status: ✅ Merged
Merged: 10/15/2026
Merged by: @ludovic111

Base: main ← Head: fix/cloud-settings


📝 Commits (1)

  • 2141117 Honor Off and Fast cloud settings

📊 Changes

2 files changed (+60 additions, -5 deletions)

View changed files

📝 crates/horizon-client/src/clouds.rs (+48 -1)
📝 crates/horizon-client/src/game.rs (+12 -4)

📄 Description

Cloud settings were saved and cycled correctly, but the renderer always built Fancy clouds. Honor Off/Fast/Fancy when producing cloud geometry.

  • Off and zero packed alpha skip cloud generation; weather rendering remains independent.
  • Fast draws flat 12×12 cells at the Fancy slab's bottom, using top shade 1.0 and the existing cloud grid, distance, drift, color and fog. Each cell has both windings to provide vanilla's double-sided visibility through Horizon's existing back-face-culling pipeline.
  • Fancy retains its existing extruded cells and face selection.

The geometry and pipeline choices follow the focused pinned-26.3 CloudRenderer/FLAT_CLOUDS report supplied by Grok.

Validation: seven cloud tests covering visibility, flat vertex coordinates and opposite windings above/inside/below the cloud height, plus existing Fancy face selection and distance tests; warning-denied client all-target Clippy; formatting, whitespace and public-tree checks; independent source review.

Manual check: in the Overworld, switch Clouds between Off, Fast and Fancy. Off should remove clouds immediately, Fast should be flat and visible from above and below, and Fancy should retain its four-block thickness. No client window, GPU visual probe, preview rebuild or native executable parity run was performed.

Fixes #255.


🔄 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/260 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/15/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/cloud-settings` --- ### 📝 Commits (1) - [`2141117`](https://github.com/horizon-rust/horizon/commit/21411176a7bc7760d9c1211e3d7b708c5bf87c37) Honor Off and Fast cloud settings ### 📊 Changes **2 files changed** (+60 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/clouds.rs` (+48 -1) 📝 `crates/horizon-client/src/game.rs` (+12 -4) </details> ### 📄 Description Cloud settings were saved and cycled correctly, but the renderer always built Fancy clouds. Honor Off/Fast/Fancy when producing cloud geometry. - Off and zero packed alpha skip cloud generation; weather rendering remains independent. - Fast draws flat 12×12 cells at the Fancy slab's bottom, using top shade 1.0 and the existing cloud grid, distance, drift, color and fog. Each cell has both windings to provide vanilla's double-sided visibility through Horizon's existing back-face-culling pipeline. - Fancy retains its existing extruded cells and face selection. The geometry and pipeline choices follow the focused pinned-26.3 CloudRenderer/FLAT_CLOUDS report supplied by Grok. Validation: seven cloud tests covering visibility, flat vertex coordinates and opposite windings above/inside/below the cloud height, plus existing Fancy face selection and distance tests; warning-denied client all-target Clippy; formatting, whitespace and public-tree checks; independent source review. Manual check: in the Overworld, switch Clouds between Off, Fast and Fancy. Off should remove clouds immediately, Fast should be flat and visible from above and below, and Fancy should retain its four-block thickness. No client window, GPU visual probe, preview rebuild or native executable parity run was performed. Fixes #255. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:56:12 +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#2444
No description provided.