Exemplo n.º 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();
    }
Exemplo n.º 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
    }
Exemplo n.º 3
0
    // 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
    }