Files
mrgameeng/tests/MrGameEng.Graphics.Tests
Leonid Pershin 96e19c7c61 Lighting: directional sun shadows from the day/night sun angle
DayNight.SunShadow returns a cell offset opposite the sun's east-west position, longest near sunrise/sunset (low sun) and zero at noon/night, tilted slightly south so shadows fall in front of occluders. LightmapBuilder gains a directional shadow pass (MaxShadowCells length cap, SunShadowStrength darkening); LightmapSystem feeds it the current sun shadow each rebuild. Tests cover SunShadow's day-arc behaviour and the builder's directional darkening.
2026-06-14 07:04:11 +03:00
..
@
2026-06-12 07:19:10 +03:00
@
2026-06-12 07:19:10 +03:00
@
2026-06-12 07:19:10 +03:00
@
2026-06-12 07:19:10 +03:00
@
2026-06-12 07:19:10 +03:00