Jump to content

Alpha to coverage

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Citation bot (talk | contribs) at 11:14, 6 November 2022 (Add: date. Removed parameters. | Use this bot. Report bugs. | Suggested by Abductive | Category:Image processing | #UCB_Category 83/253). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Alpha to coverage[1][2][3] is a multisampling computer graphics technique, that replaces alpha blending with a coverage mask. This achieves order-independent transparency for when anti-aliasing or semi-transparent textures are used. This particular technique is useful for situations where dense foliage or grass must be rendered in a video game.[4]

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. ^ "Anti-aliased Alpha Test: The Esoteric Alpha To Coverage | by Ben Golus | Medium". 21 October 2021.
  2. ^ "Alpha to coverage | Semantic Scholar".
  3. ^ "Common Rendering Mistakes: How to Find Them and How to Fix Them | Oculus".
  4. ^ "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