Fix handling of light direction (hopefully)

This commit is contained in:
2026-04-22 09:06:29 +02:00
parent becb0865b9
commit d0d24c0e6c
3 changed files with 13 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ function init () {
AppState.camera = ATON.Nav._camera;
AppState.renderer = ATON._renderer;
AppState.shadows = config.scene.shadows;
AppState.lightDirection = ATON.getMainLightDirection();
ATON.Nav.setUserControl(true);
}