//Called when MainWindow is opened
        public void CreateScene()
        {
            //Scene
            scene      = EditorSceneManager.NewPreviewScene();
            scene.name = "Noise Perspective";

            //Culling mask
            ulong cullingMask = EditorSceneManager.CalculateAvailableSceneCullingMask();

            EditorSceneManager.SetSceneCullingMask(scene, cullingMask); //Prevents running out of culling masks if editor is reopened several times

            //Light
            GameObject lightGo = new GameObject();

            sceneLight      = lightGo.AddComponent <Light>();
            sceneLight.type = LightType.Directional;
            EditorSceneManager.MoveGameObjectToScene(lightGo, scene);
            lightGo.transform.position = lightGo.transform.up * 10;
            lightGo.transform.rotation = Quaternion.Euler(60, 0, 0);
            sceneLight.shadows         = LightShadows.None;
        }