mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-07-31 18:00:46 -04:00
GameScreen loads settings before renderer services are injected. Shadow and brightness values were parsed into pending state but never applied during normal startup, leaving the renderer at shadows enabled and neutral brightness. Opening the settings window then applied the saved shadow toggle for the first time, causing caverns and dungeons to brighten while the menu was visible. Add a dedicated one-time lighting initialization path that applies saved shadow enablement, shadow distance, and post-process brightness as soon as the renderer becomes available. This keeps scene lighting independent of settings-window visibility and restores the user's configured interior brightness from the first rendered gameplay frame. Verification: full wowee build succeeded and all 31 CTest tests passed.