OpenGL / weight order independent transparency

238 views Asked by At

I'm trying to implement the algorithm described in http://jcgt.org/published/0002/02/09/ that explains how to achieve order independent transparency. I've managed to implement a two-pass rendering but I'm unable to implement the single pass rendering as introduced in the listing 4 of the article (that is compatible with GL ES).

Here are three images that show the problem. First is the reference (that depends on display order), second, is the multi-pass implementation and last one is the single-pass

enter image description here enter image description here enter image description here

Sources are in python using the glumpy framework but I think they are quite self-explanatory.

0

There are 0 answers