[PR #51] [MERGED] Cosmic's camera, breaking, clouds and outline fixes (#42 + #47), integrated #2299

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

📋 Pull Request Information

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

Base: main ← Head: review-cosmic


📝 Commits (9)

  • 17f0029 Fix vertical camera flip, breaking crack blending and cloud face culling
  • 7f7cdf0 Merge remote-tracking branch 'origin/main' into fix/vanilla-camera-cracks-clouds
  • b797839 fix(client): follow block shapes for cracks and terrain particles
  • 870f2b4 Merge remote-tracking branch 'origin/main' into fix/vanilla-camera-cracks-clouds
  • 5ea60fb fix(client): match vanilla block selection outline width and depth
  • 2ee7d7a Merge branch 'pr-42' into review-cosmic
  • 2e7e249 Merge #47 (selection outline width and depth) into review-cosmic
  • d17e5da Merge origin/main into review-cosmic
  • 193c08e Merge remote-tracking branch 'origin/main' into review-cosmic

📊 Changes

20 files changed (+1353 additions, -270 deletions)

View changed files

➕ crates/horizon-client/examples/block_particles_fixture.rs (+61 -0)
➕ crates/horizon-client/examples/breaking_fixture.rs (+74 -0)
➕ crates/horizon-client/examples/cloud_fixture.rs (+34 -0)
📝 crates/horizon-client/src/blocks.rs (+12 -8)
➕ crates/horizon-client/src/breaking.rs (+108 -0)
📝 crates/horizon-client/src/camera.rs (+28 -0)
➕ crates/horizon-client/src/clouds.rs (+81 -0)
📝 crates/horizon-client/src/entity.wgsl (+8 -2)
📝 crates/horizon-client/src/game.rs (+128 -161)
📝 crates/horizon-client/src/gfx.rs (+268 -94)
📝 crates/horizon-client/src/lib.rs (+2 -0)
📝 crates/horizon-client/src/particles.rs (+133 -0)
📝 crates/horizon-client/src/terrain.wgsl (+33 -4)
➕ mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockParticlesOracle.java (+85 -0)
➕ mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBreakingModelOracle.java (+89 -0)
➕ mods/horizon/src/test/java/dev/horizonlab/parity/VanillaCloudRenderOracle.java (+52 -0)
📝 mods/horizon/src/test/java/dev/horizonlab/parity/VanillaGameplayFactsExporter.java (+8 -1)
➕ tools/test_block_particles_parity.py (+56 -0)
➕ tools/test_breaking_model_parity.py (+62 -0)
➕ tools/test_cloud_render_parity.py (+31 -0)

📄 Description

Merges @Online5277's #42 and #47 together, plus one integration fix: after both, the shared Globals uniform must list time, crumbling_sprite, outline_params in Rust, terrain.wgsl and entity.wgsl alike (merging them separately left terrain.wgsl reading the crack sprite as the outline parameters). A new test, gfx::tests::shader_globals_match_the_rust_layout, keeps the three in step.

Fixes the Discord reports: the view flipping when looking straight up or down, and the grid pattern in clouds. Also: breaking cracks and particles on non-full blocks, the gray glow on cracks, and the selection outline width.

Checked: offline gate; the three new harnesses (block_particles, breaking_model, cloud_render) three runs each; 58 other affected harnesses; a before/after play-check.

After merging, prepared resources must be refreshed (the gameplay-facts exporter now writes outlines for 17 offset blocks correctly).

Closes #42, closes #47.

🤖 Generated with Claude Code


🔄 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/51 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `review-cosmic` --- ### 📝 Commits (9) - [`17f0029`](https://github.com/horizon-rust/horizon/commit/17f0029d08f63ed2931f7af09cdf55f937a1e985) Fix vertical camera flip, breaking crack blending and cloud face culling - [`7f7cdf0`](https://github.com/horizon-rust/horizon/commit/7f7cdf01c250bea2db41e702b7768cc7207d2baf) Merge remote-tracking branch 'origin/main' into fix/vanilla-camera-cracks-clouds - [`b797839`](https://github.com/horizon-rust/horizon/commit/b797839f776a7bc6ca32d79c5a47c7f3f19299c3) fix(client): follow block shapes for cracks and terrain particles - [`870f2b4`](https://github.com/horizon-rust/horizon/commit/870f2b45f788bee8595bfe5801086a65a7b430d4) Merge remote-tracking branch 'origin/main' into fix/vanilla-camera-cracks-clouds - [`5ea60fb`](https://github.com/horizon-rust/horizon/commit/5ea60fbd8d750c2116a2ec37406e712c6450bc2d) fix(client): match vanilla block selection outline width and depth - [`2ee7d7a`](https://github.com/horizon-rust/horizon/commit/2ee7d7af9f0644a996668276ce5bdbfdb6b2a86a) Merge branch 'pr-42' into review-cosmic - [`2e7e249`](https://github.com/horizon-rust/horizon/commit/2e7e249096d02adde8450227f8d3ef341af2a952) Merge #47 (selection outline width and depth) into review-cosmic - [`d17e5da`](https://github.com/horizon-rust/horizon/commit/d17e5da848ab8cf4e8c45deb5bdbcfac34908e85) Merge origin/main into review-cosmic - [`193c08e`](https://github.com/horizon-rust/horizon/commit/193c08e90f3dddf3d208e0d25db642ab37d412a8) Merge remote-tracking branch 'origin/main' into review-cosmic ### 📊 Changes **20 files changed** (+1353 additions, -270 deletions) <details> <summary>View changed files</summary> ➕ `crates/horizon-client/examples/block_particles_fixture.rs` (+61 -0) ➕ `crates/horizon-client/examples/breaking_fixture.rs` (+74 -0) ➕ `crates/horizon-client/examples/cloud_fixture.rs` (+34 -0) 📝 `crates/horizon-client/src/blocks.rs` (+12 -8) ➕ `crates/horizon-client/src/breaking.rs` (+108 -0) 📝 `crates/horizon-client/src/camera.rs` (+28 -0) ➕ `crates/horizon-client/src/clouds.rs` (+81 -0) 📝 `crates/horizon-client/src/entity.wgsl` (+8 -2) 📝 `crates/horizon-client/src/game.rs` (+128 -161) 📝 `crates/horizon-client/src/gfx.rs` (+268 -94) 📝 `crates/horizon-client/src/lib.rs` (+2 -0) 📝 `crates/horizon-client/src/particles.rs` (+133 -0) 📝 `crates/horizon-client/src/terrain.wgsl` (+33 -4) ➕ `mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBlockParticlesOracle.java` (+85 -0) ➕ `mods/horizon/src/test/java/dev/horizonlab/parity/VanillaBreakingModelOracle.java` (+89 -0) ➕ `mods/horizon/src/test/java/dev/horizonlab/parity/VanillaCloudRenderOracle.java` (+52 -0) 📝 `mods/horizon/src/test/java/dev/horizonlab/parity/VanillaGameplayFactsExporter.java` (+8 -1) ➕ `tools/test_block_particles_parity.py` (+56 -0) ➕ `tools/test_breaking_model_parity.py` (+62 -0) ➕ `tools/test_cloud_render_parity.py` (+31 -0) </details> ### 📄 Description Merges @Online5277's #42 and #47 together, plus one integration fix: after both, the shared `Globals` uniform must list `time, crumbling_sprite, outline_params` in Rust, `terrain.wgsl` and `entity.wgsl` alike (merging them separately left `terrain.wgsl` reading the crack sprite as the outline parameters). A new test, `gfx::tests::shader_globals_match_the_rust_layout`, keeps the three in step. Fixes the Discord reports: the view flipping when looking straight up or down, and the grid pattern in clouds. Also: breaking cracks and particles on non-full blocks, the gray glow on cracks, and the selection outline width. Checked: offline gate; the three new harnesses (block_particles, breaking_model, cloud_render) three runs each; 58 other affected harnesses; a before/after play-check. After merging, prepared resources must be refreshed (the gameplay-facts exporter now writes outlines for 17 offset blocks correctly). Closes #42, closes #47. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:54:44 +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#2299
No description provided.