feat(renderer): Beer's Law cloud lighting (ADR-0037) #102
No reviewers
Labels
No labels
atmosphere
clouds
debug
enhancement
foundation
high-priority
integration
low-priority
medium-priority
optimization
pbr
weather
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
akadmin/NemesisEngine!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/cloud-beers-law"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #25: Beer's Law transmittance for cloud lighting.
sun_transmittance_at, 6 steps to the slab exit, capped for near-horizontal suns), optical depth accumulated with the samedensity_atextinction as the view ray, direct sun attenuated byexp(-od).CloudPushstays 48 bytes, no Rust plumbing. Sun color, phase function, and powder term are deferred per ADR-0037.Proposedstatus toAccepted(README already listed it as Accepted).Verification:
cargo buildcompile-checks the GLSL (vulkano-shaders);cargo test/fmt --check/clippy -D warningsall green. Visual check per ADR acceptance criteria: enable Clouds on a Sky entity, scrub coverage/cloud-type (thicker clouds darker underneath) and a TimeOfDay hour slider (low sun darkens undersides, no glow at midnight).🤖 Generated with Claude Code