internal static void Apply(EditorFacility editor) { Debug.Log("EditorSky.Apply", "editor = " + editor); RenderSettings.skybox.shader = ShaderLoader.shader; RenderSettings.skybox.SetTexture("_CubeMap", cubemap); RenderSettings.skybox.SetMatrix("_Rotation", EditorView.GetMatrix(editor)); }
internal static void Apply(EditorFacility editor) { Debug.Log("EditorSky.Apply", "editor = " + editor); RenderSettings.skybox.shader = ShaderLoader.shader; RenderSettings.skybox.SetTexture("_SkyBox", skybox); RenderSettings.skybox.SetTexture("_Scaled", scaled); RenderSettings.skybox.SetTexture("_Ground", ground); RenderSettings.skybox.SetMatrix("_Rotation", EditorView.GetMatrix(editor)); }