PDA

View Full Version : Fastest way in OpenGL to mix 2 images and render on screen?



frefire
02-10-2017, 09:26 AM
I have 2 images, the first one uses a specific color as transparent color(eg, (0,255,0),Green).
What I want to do is to mix 2 images to 1 and alpha blend all transparent color in the first image, in a fastest way, then render it on screen.
How do I do that?
Thanks.