Ejemplo n.º 1
0
        bool GetVPMatrix(Light light)
        {
            if (!ShadowUtils.GetVPMatrixWithTags(light, _Tags, _Renderers, out m_ViewMatrix, out m_ProjMatrix, out m_CullingSphere))
            {
                return(false);
            }

            m_MainCharacterShadowMatrix = ShadowUtils.GetShadowTransform(m_ProjMatrix, m_ViewMatrix);

            return(true);
        }