[PR #511] [MERGED] Preserve cloud opacity when shading faces #2611

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

📋 Pull Request Information

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

Base: main ← Head: fix/cloud-face-alpha


📝 Commits (1)

  • e86b053 Keep cloud alpha independent of face shading

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/clouds.rs (+7 -3)

📄 Description

Cloud side and bottom faces currently multiply alpha by their directional shade, making them more transparent than the top face. Shade only RGB and preserve the packed input alpha for every face.

The existing cached-mesh regression now checks unshaded alpha on all four face colors, including translucent input, while retaining the bottom-face RGB check.

Fixes #491.

Validation: all eight clouds::tests pass with cargo test --profile fast -p horizon-client --lib clouds::tests. Formatting, diff checks, and client Clippy with all targets pass.

Draft pending a visual check in Fancy clouds from below, alongside, and inside the cloud layer. Cloud faces should retain their directional RGB shading without extra transparency on the bottom and sides. No client window was launched.


🔄 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/511 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/cloud-face-alpha` --- ### 📝 Commits (1) - [`e86b053`](https://github.com/horizon-rust/horizon/commit/e86b05333e0c5f88e1ce4a85e32d83dbad477f8a) Keep cloud alpha independent of face shading ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/clouds.rs` (+7 -3) </details> ### 📄 Description Cloud side and bottom faces currently multiply alpha by their directional shade, making them more transparent than the top face. Shade only RGB and preserve the packed input alpha for every face. The existing cached-mesh regression now checks unshaded alpha on all four face colors, including translucent input, while retaining the bottom-face RGB check. Fixes #491. Validation: all eight `clouds::tests` pass with `cargo test --profile fast -p horizon-client --lib clouds::tests`. Formatting, diff checks, and client Clippy with all targets pass. Draft pending a visual check in Fancy clouds from below, alongside, and inside the cloud layer. Cloud faces should retain their directional RGB shading without extra transparency on the bottom and sides. No client window was launched. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:38 +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#2611
No description provided.