summaryrefslogtreecommitdiff
path: root/game/environment.cpp
Commit message (Collapse)AuthorAge
* Fix up the preFrame process to use both frustumsDan Goodliffe13 days
| | | | | | (camera and directional light frustums) This has made the whole preFrame process far more fiddly and repetitive than I'd like, but it does work. Maybe we can tidy it up later.
* 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