At my game, I should display many absolutely same trees in different positions.
Drawing them I get too big Open GL Calls counter, so auto-batching doesn’t work here.
Following this recommendation I made trees model’s visit() function called in sequence by adding all of them to the same node, containing only trees, but it doesn’t help me (Open Gl Calls count haven’t decreased).
I create trees this way:
auto tree = Sprite3D::create("tree.obj");
Could someone help me to figure out, what the problem is?
Thanks in advance!