Fix handling of light direction (hopefully)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user