[GH-ISSUE #6002] Native mods: adjust final world fog parameters #1926

Closed
opened 2026-11-02 15:50:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xmilon on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6002

Originally assigned to: @Xmilon on GitHub.

🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally.

Part of #4953's ViewportEvent additions. Add native_render_fog(partial, camera, fog_type, fog) on final world FogData after ordinary environment/effect/render-distance calculation and Horizon's fog option, before GPU upload. Exclude title panoramas. Public counterpart: ViewportEvent.RenderFog with mutable FogData.

Accept finite color components in 0..=1, finite distance values, ordered environmental/render-distance planes, and nonnegative sky/cloud ends; invalid requests retain the original whole fog value. Negative near distances remain supported for water/lava. Validate actual dispatch with fake-mod regression tests and client Clippy. No game files or other projects' source.

🤖 Generated with Codex

Originally created by @Xmilon on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6002 Originally assigned to: @Xmilon on GitHub. > 🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally. Part of #4953's ViewportEvent additions. Add native_render_fog(partial, camera, fog_type, fog) on final world FogData after ordinary environment/effect/render-distance calculation and Horizon's fog option, before GPU upload. Exclude title panoramas. Public counterpart: ViewportEvent.RenderFog with mutable FogData. Accept finite color components in 0..=1, finite distance values, ordered environmental/render-distance planes, and nonnegative sky/cloud ends; invalid requests retain the original whole fog value. Negative near distances remain supported for water/lava. Validate actual dispatch with fake-mod regression tests and client Clippy. No game files or other projects' source. 🤖 Generated with [Codex](https://openai.com/codex/)
Author
Owner

@Xmilon commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6559081878 --> @Xmilon commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
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#1926
No description provided.