I am new to OpenGL and I need to blend 2 textures returned from 2 different sources. I am using FBO to render textures in a loop but only the last texture rendered is visible.
Are there any specific guidelines for creating and rendering textures with blending?
What are you doing currently with blend?
Have you enabled the state? What blend functions are you using?
Do your textures have alpha, are they supposed to be semi-transparent?
I have set GL_MDULATE while creating FBO texture
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
and before rendering to FBO