public override Material GetMaterial(bool baking) { if (baking) { return(TexturedMaterialProperties.GetBakeMaterial(AvatarService.BodyBakeShader)); } return(new Material(AvatarService.BodyPreviewShader)); }
public override Material GetMaterial(bool baking) { Material result; if (baking) { result = TexturedMaterialProperties.GetBakeMaterial(AvatarService.EquipmentBakeShader); } else { result = new Material(AvatarService.EquipmentPreviewShader); } return(result); }
public void AddMaterialProps(TexturedMaterialProperties texturedMatProps) { this.TexturedMaterialProps.Add(texturedMatProps); }