Skip to content

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

@crookedbard

Description

@crookedbard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions