Jump to content

Alpha to coverage

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 86.140.186.159 (talk) at 05:51, 17 January 2010 ("use" corrected to "uses"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Alpha to coverage is a multisampling computer graphics technique useful for situations where dense foliage or grass must be rendered in a video game.

This technique uses the alpha channel of textures as a coverage mask for anti-aliasing.

Alpha to coverage multisampling is based on regular multisampling, except that the alpha coverage mask is ANDed with the multisample mask. Alpha-to-coverage converts the alpha component output from the pixel shader to a coverage mask. When the multisampling is applied each output fragment gets a transparency of 0 or 1 depending on alpha coverage and the multisampling result.

See also

References