I’m working on learning OpenGL ES to expand my iPhone development capabilities, but I’m running into some problems with transparent textures that I can’t seem to figure out through Google.
Here are some pics:
http://www.fullofepicwin.com/randomFiles/IMG_0785.PNG
http://www.fullofepicwin.com/randomFiles/IMG_0786.PNG
I’m using this blend function:
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
The object in the front seems to work exactly the way I want, but the other three objects are acting much differently.
As you can see, the transparency of the small circle only seems to work when it is over the small D-Pad square, of which no transparency can be seen. This seems really strange as all objects are creating in exactly the same way, but are being displayed differently.
Thanks in advance for your help, I could surely use it