Pass:setAlphaToCoverage

Sets whether alpha to coverage is enabled. Alpha to coverage factors the alpha of a pixel into antialiasing calculations. It can be used to get antialiased edges on textures with transparency. It's often used for foliage.

Pass:setAlphaToCoverage(enable)

Arguments

NameTypeDescription
enableboolean Whether alpha to coverage should be enabled.

Returns

Nothing

Notes

By default, alpha to coverage is disabled.

See also