Hello,
For example, we have 3 sprites:
1) Background 768x1024;
2) Sprite on the background with full opacity (=255);
3) Sprite above sprite 2 with opacity < 255.
I see Sprite 2 through Sprite 3.
All is fine except fps.
Then, to raise fps, I delete background Sprite from scene and open background image in an UIImageView below EAGLView and to see background, make glClearColor(0.0, 0.0, 0.0, 0.0) and also glView.opaque = NO;
Background is present, but I can see it through overlapped areas of Sprite2 and Sprite 3.
Sprite 2, as you remember, have opacity=255.
Furthermore, if background remains in scene nothing changes: I also can see UIImageView through overlapped areas of Sprite 2 and 3.
How I can avoid this effect?
P.S. No difference if I use CCSpriteBatchNode for Sprite2 and Sprite 3 or not.