Jump to content

Order independent transparency: Difference between revisions

From David's Wiki
No edit summary
No edit summary
Line 1: Line 1:
Methods for order independent transparency
Methods for order independent transparency
==Additive Transparency==
Take all the transparent colors and add them up. Addition is commutative so the order doesn't matter.


==Weighted Blended Order Independent Transparency==
==Weighted Blended Order Independent Transparency==
See http://casual-effects.blogspot.com/2014/03/weighted-blended-order-independent.html
See http://casual-effects.blogspot.com/2014/03/weighted-blended-order-independent.html
This builds upon additive transparency with two buffers:
1. Accum buffer: weighted average of all premultiplied-alpha RGB colors.
2. Revealage buffer: buffer representing how much of the opaque background is visible through the transparent layers.


==Dual Depth Peeling==
==Dual Depth Peeling==

Revision as of 21:21, 8 October 2025

Methods for order independent transparency

Additive Transparency

Take all the transparent colors and add them up. Addition is commutative so the order doesn't matter.

Weighted Blended Order Independent Transparency

See http://casual-effects.blogspot.com/2014/03/weighted-blended-order-independent.html

This builds upon additive transparency with two buffers: 1. Accum buffer: weighted average of all premultiplied-alpha RGB colors. 2. Revealage buffer: buffer representing how much of the opaque background is visible through the transparent layers.

Dual Depth Peeling

https://developer.download.nvidia.com/SDK/10/opengl/src/dual_depth_peeling/doc/DualDepthPeeling.pdf

Stochastic Transparency

https://research.nvidia.com/publication/2011-08_stochastic-transparency


Per-Pixel Linked Lists