summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-26 20:46:58 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-26 20:46:58 +0000
commit947319e25e49027d77543ae5c6f6c01d451a8926 (patch)
tree4e941967521d0b96e3c2ad32eb1545ecb6ed32f7 /test/fixtures
parentFix warnings in Environment:getSunPos (diff)
downloadilt-947319e25e49027d77543ae5c6f6c01d451a8926.tar.bz2
ilt-947319e25e49027d77543ae5c6f6c01d451a8926.tar.xz
ilt-947319e25e49027d77543ae5c6f6c01d451a8926.zip
Improve light approximations in LightDirection
Twilight replaces astronomical twilight to give a longer fade. Astronomical twilight is only the darkest part of twilight, which we had skipped right to. Fixes directional light amount to only be affected by the sun's passing below th horizon, not it's whole height above it. Adds a rough approximation of the amount of atmosphere scattering of directional light (I made this calculation up)
Diffstat (limited to 'test/fixtures')
0 files changed, 0 insertions, 0 deletions