I want to display two shadow “spots” under my 3d characters. I use two quadrics (is this the right word for two triangles, which form a rectangle?) with the same black spot map as the shadow. The map is made of a black spot, which attenuates towards its edges and the background is white. I set the alpha values correctly: where the map is white, it’s transparent.
But if two quadrics with this texture overlap, one of them always “erases” the second one on the overlapping points, which means, it isn’t really transparent, just lets me see the background.
I use the following code:
glMatrixMode( GL_MODELVIEW );
This code is used in a loop to display the objects (quadrics(?)).
What can be the problem?