public void ReplaceOriginalShader(MaterialEffectInfo info) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.ReplaceShader(info); matComponent.ChangeSharedMaterials(); }
public void ReplaceShader(MaterialEffectInfo info) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.ReplaceShader(info); }