feat/time-of-day #98
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!98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/time-of-day"
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?
The sky, fog, ambient, and shadow matrix all read the slot-0 light, and order_lights promoted the lowest-entity-id directional there. A scene with any directional light older than the TimeOfDay sun kept that static light in slot 0 - so scrubbing the time slider moved an invisible slot-1 light while the sky's sun stayed pinned at its old position ("stays high noon"). - order_lights entries gain an is_sun flag (directional + TimeOfDay, ADR-0033): the declared sun sorts before everything else and wins slot 0; lowest id breaks ties between multiple TimeOfDay suns. Regression tests at both the order_lights and gather_lights level (older static directional + newer TimeOfDay sun). - Inspector warns when TimeOfDay sits on an entity without a directional Light - the other way the slider could silently drive nothing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>