Hi guys
I'm creating trees (I've drawn many types of leaves and trunks, each leaf and trunk is a separate texture). My plan is to first use Spine's texture packer to output two textures (one containing all leaves, another containing all trunks), then create new Spine projects for "Tree1", "Tree2", "Tree3", etc. My goal is to reduce draw calls - I want all trees to use these two materials that contain all leaves and trunks, so my initial expectation was that all trees would require only 2 draw calls total.
However, I've now tested with the official Spine project in Unity by duplicating the same Spine character (like Spineboy), and I found that the draw call count increases by 1 for each copy. This doesn't match my expectation. Does this mean that even if all my trees use the same two materials (leaves and trunk atlas textures), my draw call count will still increase? If I have 10 trees, will there be 20 draw calls?
I'm now unsure which approach is correct - should I continue packing all leaves and trunks into unified atlases before creating trees, or should I just use individual textures in each Spine project? Do these two approaches have the same performance cost?
In short, my question is: Are Spine character draw calls independent of materials? Even when multiple Spine characters share the same materials, is each one counted as a separate draw call? Should I not pursue having multiple Spine projects share textures since it doesn't reduce overhead?