Only set Material Attributes if they are provided