Function CreateMaterial()
Returns a new material