Implement Cone Sampling for Light #28

Closed
opened 2026-01-18 14:25:41 +00:00 by akadmin · 0 comments
Owner

Description:
Add cone-based light sampling toward sun to smooth banding and capture distant cloud shadows.
Tasks:

  • Implement 6-sample cone toward sun
  • Space samples to reduce banding
  • Place final sample far away (distant shadows)
  • Weight samples for smooth gradient
  • Optimize: switch to cheap samples when alpha > 0.3
  • Test shadow casting from distant clouds
  • Verify smooth lighting gradients

Acceptance Criteria:

Lighting appears smooth without banding
Distant clouds cast shadows
Ambient effect from neighboring density
Performance acceptable with optimization

Related Issues: Depends on #27
Resources:

Horizon paper cone sampling section

Estimated Time: 2-3 days

Description: Add cone-based light sampling toward sun to smooth banding and capture distant cloud shadows. Tasks: - [x] Implement 6-sample cone toward sun - [x] Space samples to reduce banding - [x] Place final sample far away (distant shadows) - [x] Weight samples for smooth gradient - [x] Optimize: switch to cheap samples when alpha > 0.3 - [x] Test shadow casting from distant clouds - [x] Verify smooth lighting gradients Acceptance Criteria: Lighting appears smooth without banding Distant clouds cast shadows Ambient effect from neighboring density Performance acceptable with optimization Related Issues: Depends on #27 Resources: Horizon paper cone sampling section Estimated Time: 2-3 days
Sign in to join this conversation.
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#28
No description provided.