summaryrefslogtreecommitdiff
path: root/game/environment.cpp
Commit message (Collapse)AuthorAge
* Improve sun illumination based on angular size and astronomical twilightDan Goodliffe2024-10-24
|
* Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
|
* Adjust light colour as sun rises/setsDan Goodliffe2024-09-22
| | | | This is a bit made-up-maths/numbers, but it looks reasonable.
* Calculate sunlight direction from worldTimeDan Goodliffe2024-09-22
|
* Move getSunPos to EnvironmentDan Goodliffe2024-09-20
|
* Add basic environment objectDan Goodliffe2024-09-20
Will hold world time/date, weather, location etc