Problem when glsl program is disabled

I want to set the glsl program for multiple texture blending and for the rest, drawing vertex and polygon, I still want to use the normal way. So,
I create the shader and draw multiple textures. It works fine.
But the problem is after I disable the glsl program by set
And then draw ploygon with blending function as:

Then all those polygon’s color is gone although the blending still work.
I read the documents and it says that the glsl shader will disable the color sum.
But my question is how come the color is still gone even I already disable the shader program?

Same problem here. On ati/amd hardware after changing back to fixed pipe I have to add

glBindTexture(GL_TEXTURE_2D, 0);

and repeat this for all texture units I’ve used.


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.