Isometric tile map flickers for GL_DEPTH_COMPONENT24_OES

I used GL_DEPTH_COMPONENT24_OESto control the depth to update vertexZmy character as he moves around the tile map.

The problem is that as the character moves on the iPhone iPad, some flicker appears. Flicker is not displayed in the simulator.

How to resolve this? Any suggestions?

+3
source share
1 answer

Just use

kEAGLColorFormatRGBA8

instead

kEAGLColorFormatRGB565

at

Appdelegate

thanks LearnCocos2D

0
source

All Articles