OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition
by Dave Shreiner, Graham Sellers, John M. Kessenich, Bill M. Licea-Kane
Order-Independent Transparency
Order-independent transparency is a technique where blending operations are carried out in a manner such that rasterization order is not important. The fixed function blending provided by OpenGL through functions such as glBlendEquation() and glBlendFunc() are fairly restrictive. They provide a small, fixed set of operations that may be performed, most of which are not commutative. That is, the order of their operations matters—blend(a, blend(b, c)) does not produce the same result as blend(blend(a, b), c). This means that geometry must be sorted into a fixed, known order before being rendered. This can be very time-consuming, especially for complex geometry and in some cases, such as where geometry may self-intersect, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access