public void SetIBLMap(int index)
 {
     if (iblMapList.Count > index)
     {
         currIBLMaps = iblMapList[index];
     }
 }
        public void AddIBLMap(string path)
        {
            iblTexture = GetIBLTexture(path);
            IBLSetup iblMaps = new IBLSetup();

            GetCubeIBLMapsFromSphereMap(iblTexture, ref iblMaps.ibl_skyboxMap, ref iblMaps.ibl_irradianceMap, ref iblMaps.ibl_prefilteredEnvironment, ref iblMaps.ibl_BrdfIntegraionMap);
            iblMapList.Add(iblMaps);
            currIBLMaps = iblMaps;
        }