public void ApplyParameters() { pp.LoadParameters(); SkyboxManager manager = AIGraphics.Instance.SkyboxManager; if (manager) { manager.skyboxParams = skybox; manager.LoadSkyboxParams(); } }
public void ApplyParameters() { pp.LoadParameters(); SkyboxManager manager = Graphics.Instance.SkyboxManager; if (manager) { if (skyboxSetting != null) { manager.dynSkyboxSetting = skyboxSetting; } manager.skyboxParams = skybox; manager.PresetUpdate = true; manager.LoadSkyboxParams(); } }