// Update is called once per frame #if UNITY_EDITOR void Update() { SH9Helper.UpdateSH9FormCubeMap(ibl, ref curIbl, iblData); SH9Helper.UpdateSH9FormCubeMap(ibl2, ref curIbl2, iblData2); SH9Helper.UpdateSH9FormCubeMap(ibl3, ref curIbl3, iblData3); setSH9Global(); }
// Update is called once per frame void Update() { #if UNITY_EDITOR SH9Helper.UpdateSH9FormCubeMap(ibl, ref curIbl, iblData); SH9Helper.UpdateSH9FormCubeMap(ibl2, ref curIbl2, iblData2); SH9Helper.UpdateSH9FormCubeMap(ibl3, ref curIbl3, iblData3); setSH9Global(); #endif }
// Update is called once per frame void Update() { #if UNITY_EDITOR //if (null == ibl) // ibl = RenderSettings.skybox; SH9Helper.UpdateSH9FormCubeMap(ibl, ref curIbl, iblData); SH9Helper.UpdateSH9FormCubeMap(ibl2, ref curIbl2, iblData2); SH9Helper.UpdateSH9FormCubeMap(ibl3, ref curIbl3, iblData3); setSH9Global(); #endif }