light is used to set the material