示例#1
0
    // 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();
    }
示例#2
0
    // 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
    }
示例#3
0
文件: SetGlobalSH9.cs 项目: Hengle/TA
    // 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
    }