lovr.graphics.setShader

Sets or disables the Shader used for drawing.

lovr.graphics.setShader(shader)

Arguments

NameTypeDescription
shaderShaderThe shader to use.

Returns

Nothing


Revert back to the default shader.

lovr.graphics.setShader()

Arguments

None

Returns

Nothing

See also