PDA

View Full Version : Blending with glTexSubImage2D?



alex_mdc
11-21-2001, 09:32 PM
Hi

Will ok here is my problem. I have a big texture all defined and ready, and want to sub an extra texture ontop of this texture. BUT i need the sub-texture to BLEND in with the texture, not just replace it. The sub-texture has a large transparent (alpha) section that I want to original texture to show through, but when I sub it in it just replaces it.

I think the solution is by setting something with the glPixelTransfer or glPixelMap commands. I have tried a lot of different things and I can't get it to do what I described. Is it at all possible?

Thanks for your help.

dorbie
11-21-2001, 11:34 PM
I just answered this, you can't do this, see my other post for more details.