Implement Basic Atmospheric Scattering #20

Open
opened 2026-01-18 14:19:30 +00:00 by akadmin · 0 comments
Owner

Description:
Implement Rayleigh and Mie scattering for realistic sky rendering. Foundation for cloud integration.
Tasks:

  • Research atmospheric scattering theory
  • Create atmosphere parameters struct (planet radius, atmosphere thickness)
  • Implement Rayleigh scattering (blue sky)
  • Implement Mie scattering (sun glow, haze)
  • Calculate optical depth integration
  • Implement phase functions for Rayleigh and Mie
  • Create fullscreen quad for sky rendering
  • Add atmosphere shader pass
  • Integrate with scene depth for proper blending
  • Test at different sun angles

Acceptance Criteria:

Sky transitions from blue to sunset colors correctly
Sun has realistic glow
Atmosphere blends with distant geometry
Performance acceptable (< 1ms)

Related Issues: None
Resources:

GPU Gems 2 Chapter 16
Alan Zucconi atmospheric scattering series
glsl-atmosphere GitHub repo

Estimated Time: 5-7 days

Description: Implement Rayleigh and Mie scattering for realistic sky rendering. Foundation for cloud integration. Tasks: - [ ] Research atmospheric scattering theory - [ ] Create atmosphere parameters struct (planet radius, atmosphere thickness) - [ ] Implement Rayleigh scattering (blue sky) - [ ] Implement Mie scattering (sun glow, haze) - [ ] Calculate optical depth integration - [ ] Implement phase functions for Rayleigh and Mie - [ ] Create fullscreen quad for sky rendering - [ ] Add atmosphere shader pass - [ ] Integrate with scene depth for proper blending - [ ] Test at different sun angles Acceptance Criteria: Sky transitions from blue to sunset colors correctly Sun has realistic glow Atmosphere blends with distant geometry Performance acceptable (< 1ms) Related Issues: None Resources: GPU Gems 2 Chapter 16 Alan Zucconi atmospheric scattering series glsl-atmosphere GitHub repo Estimated Time: 5-7 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#20
No description provided.