Blending with glTexSubImage2D?

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.

I just answered this, you can’t do this, see my other post for more details.