Material
A Material is an object used to control how objects appear, through coloring, texturing, and shading. The Material itself holds sets of colors, textures, and other parameters that are made available to Shaders.
Constructor
lovr.graphics.newMaterial | Create a new Material. |
Methods
Material:getColor | Get a color property of the Material. |
Material:setColor | Set a color property of the Material. |
Material:getScalar | Get a scalar property of the Material. |
Material:setScalar | Set a scalar property of the Material. |
Material:getTexture | Get a texture for the Material. |
Material:setTexture | Set a texture for the Material. |
Material:getTransform | Get the transformation applied to texture coordinates. |
Material:setTransform | Set the transformation applied to texture coordinates. |
See also