feat(renderer): cone-sampled cloud sun march (ADR-0040) #105

Merged
akadmin merged 1 commit from feat/cloud-cone-sampling into main 2026-07-10 04:06:07 +00:00
Owner

Replace the ADR-0037 linear 6-step sun march with Horizon-style cone
sampling: 5 samples pushed off-axis by a fixed widening kernel over
600 m (smooth shadow gradients, neighboring-cloud occlusion) plus a
distant on-axis 6th sample at 3x the cone length for far-cloud shadows.
Light samples switch to a cheap density_at variant (skips curl + detail
erosion) once the view ray is >0.3 opaque. Shader-only; no push-constant
or Rust changes. Closes #28.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Replace the ADR-0037 linear 6-step sun march with Horizon-style cone sampling: 5 samples pushed off-axis by a fixed widening kernel over 600 m (smooth shadow gradients, neighboring-cloud occlusion) plus a distant on-axis 6th sample at 3x the cone length for far-cloud shadows. Light samples switch to a cheap density_at variant (skips curl + detail erosion) once the view ray is >0.3 opaque. Shader-only; no push-constant or Rust changes. Closes #28. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
feat(renderer): cone-sampled cloud sun march (ADR-0040)
All checks were successful
CI / build (pull_request) Successful in 3m23s
d2b25902cf
Replace the ADR-0037 linear 6-step sun march with Horizon-style cone
sampling: 5 samples pushed off-axis by a fixed widening kernel over
600 m (smooth shadow gradients, neighboring-cloud occlusion) plus a
distant on-axis 6th sample at 3x the cone length for far-cloud shadows.
Light samples switch to a cheap density_at variant (skips curl + detail
erosion) once the view ray is >0.3 opaque. Shader-only; no push-constant
or Rust changes. Closes #28.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
akadmin deleted branch feat/cloud-cone-sampling 2026-07-10 04:06:07 +00:00
Sign in to join this conversation.
No reviewers
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
akadmin/NemesisEngine!105
No description provided.