I have been using OpenGL ES 1.1 on iPhone for 10 months, and at that time there was one seemingly simple task that I could not do: the textured object was disappearing programmatically. To keep it simple: how can alpha disappear under code control, a simple 2D triangle that has a texture (with alpha) applied to it. I would like to put it out to / from while it is above the stage, rather than a simple colored background. So far, the only technique I have to do is create a texture with several previously faded copies of the texture on it. (Yuck)
As an example, I cannot do this using the Apple GLSprite sample code as a starting point. It already textures a square with a texture that has its own alpha. I would like to remove this object.
iphone alpha opengl textures fade
Pewtersoft
source share