DragonBonesCPP icon indicating copy to clipboard operation
DragonBonesCPP copied to clipboard

Cocos2dx, using 2 texture sheets on the same armature produces many GL draw calls.

Open crookedbard opened this issue 5 years ago • 0 comments

Situation: I created an RPG character armature, added the character 100 times in game, GL draw call is about ~5-8 (together with other sprites on screen). Then I created another armature with single slot that contains all the picture of the RPG character hair types and colour 2048x2048. When I replace slot display of my first armature with the seconds armature slot then GL draw calls reaches 100+.

It should be a possibility to use multiple texture atlases for a single armature display.

crookedbard avatar Oct 27 '18 22:10 crookedbard