Sets the material. This will apply to most drawing, except for text, skyboxes, and models, which use their own materials.
Pass:setMaterial(material) Pass:setMaterial(texture) Pass:setMaterial()
Nothing
Use the default material.
None
Pass