lovr.graphics.setBlendMode

Sets the blend mode. The blend mode controls how each pixel's color is blended with the previous pixel's color when drawn.

lovr.graphics.setBlendMode(blend, alphaBlend)

Arguments

NameTypeDescription
blendBlendModeThe blend mode.
alphaBlendBlendAlphaModeThe alpha blend mode.

Returns

Nothing


Disable blending.

lovr.graphics.setBlendMode()

Arguments

None

Returns

Nothing

Notes

The default blend mode is alpha and alphamultiply.

See also