Hi, I have a graphic renderring problem about stencil buffer using Adreno 320 on Android devices. the problem is descript as follow.
I use cocos2dx 2.2.3 as my 2d game engine. I have developed a game which scene can be destroyed. I use CCClippingNode class in my game. (the CCClippingNode class use Stencil Buffer to clip)
Somebody said this problem has occurs on devices which has android system version bellow 4.3, I will try it later.
This problem is not exist on most android devices except the devices which using Adreno 320!
this demo can be download at:
http://115.28.106.122:19038/pang_terrain_problem.apk
Can somebody help me to solve this problem? thank you very much!
my email address is [email protected], welcome to email me about this problem.
This problem has been fix for change CCClippingNode.cpp(cocos2dx 2.2.3) in
line 231: glClear(GL_STENCIL_BUFFER_BIT);
to //glClear(GL_STENCIL_BUFFER_BIT);