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);
        }
예제 #3
0
 public void AddMaterialProps(TexturedMaterialProperties texturedMatProps)
 {
     this.TexturedMaterialProps.Add(texturedMatProps);
 }