Login  Register

Re: Rendering transparent triangles with opengl...

Posted by ManuelBrotz on May 22, 2015; 1:48pm
URL: https://forum.jogamp.org/Rendering-transparent-triangles-with-opengl-tp4034507p4034510.html

Thank you for your answer.

I am not sure, whether i need depth peeling (i have disabled depth-mask) and i think, i don't need order-independent transparency...
My triangles are 2D only and will never have a z-coordinate. Nor does it matter to me, that the transparency is order-dependent.

All i want to do, is to blend a number of transparent triangles over each other and get a similar effect like i get it with the BufferedBitmap and Graphics2D...

By the way, the colors seem to blend fine, it's the alpha-channel, which makes problems...

I will try to give some better examples later, when i have more time.

M. Brotz