Пример #1
0
        public void ReplaceOriginalShader(MaterialEffectInfo info)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.ReplaceShader(info);
            matComponent.ChangeSharedMaterials();
        }
Пример #2
0
        public void ReplaceShader(MaterialEffectInfo info)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.ReplaceShader(info);
        }