Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

OpenDL

macrumors newbie
Original poster
Jan 31, 2014
2
0
Hi, I am trying to render two partially transparent 2D sprites, with the same alpha value, one on top of the other, the transparency is achieved by setting the alpha value in the ColorArray.

My question is this: Is it possible that the intersection area of the two partially transparent objects to have the same initial alpha value? What I have now is something like the sum of both objects alpha value...

Please take a look at the attached image, which I think it describes the problem in a better way.

16bipuq.png


Your help would be much appreciated.
Thanks.
 
You might try disabling depth testing. That way when the particle is drawn it override what ever is in the buffer.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.