Jump to content

Alpha to coverage

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2601:204:c602:f30:a598:dcdb:7dc5:b26e (talk) at 17:51, 17 June 2017 (External links: Fixed the first external link.). 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.[1]

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

  1. ^ "Configuring Blending Functionality (Windows)". Microsoft Developer Network. Retrieved 2013-01-27. Alpha-to-coverage is a multisampling technique that is most useful for situations such as dense foliage where there are several overlapping polygons that use alpha transparency to define edges within the surface