浏览代码

Fix to load correct light probes

/devlogs-3-input
Ciro Continisio 4 年前
当前提交
74441aab
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      UOP1_Project/Assets/Scripts/SceneManagement/LocationLoader.cs

3
UOP1_Project/Assets/Scripts/SceneManagement/LocationLoader.cs


{
// TODO: As each event completes, decide if it needs to activate right away.
SceneManager.SetActiveScene(SceneManager.GetSceneByPath(_activeScene.scenePath));
// Will reconstruct LightProbe tetrahedrons to include the probes from the newly-loaded scene
LightProbes.TetrahedralizeAsync();
}
private void AddScenesToUnload()

正在加载...
取消
保存