Implement Time of Day System #21

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

Description:
Create a time of day controller that updates sun position, atmospheric parameters, and lighting.
Tasks:

  • Create TimeOfDay struct with current time (0-24 hours)
  • Calculate sun position from time (azimuth and elevation)
  • Update directional light direction based on sun
  • Update sun color based on atmospheric scattering
  • Add time progression (automatic or manual)
  • Update atmosphere shader parameters from time
  • Add debug UI for time control
  • Test full day/night cycle

Acceptance Criteria:

Sun moves across sky realistically
Light direction updates with sun position
Sky colors transition naturally through day
Can manually control time for testing

Related Issues: Depends on #20
Estimated Time: 2-3 days

Description: Create a time of day controller that updates sun position, atmospheric parameters, and lighting. Tasks: - [ ] Create TimeOfDay struct with current time (0-24 hours) - [ ] Calculate sun position from time (azimuth and elevation) - [ ] Update directional light direction based on sun - [ ] Update sun color based on atmospheric scattering - [ ] Add time progression (automatic or manual) - [ ] Update atmosphere shader parameters from time - [ ] Add debug UI for time control - [ ] Test full day/night cycle Acceptance Criteria: Sun moves across sky realistically Light direction updates with sun position Sky colors transition naturally through day Can manually control time for testing Related Issues: Depends on #20 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#21
No description provided.