- Home /
Small Vert/Tris count still generating more draw calls than expected
I have an object made up of two meshes and two different materials:
- Mesh 1 is made up of 119 verts/113 tris with 2 submeshes, while Mesh 2 is made up of 71 verts/65 tris.
- Mesh 1 uses Material 1 and Material 2, while Mesh 2 only uses Material 1 (sharing that same material with Mesh 1)
Okay, here's what I don't get at all. These two meshes make up a more 'complete' object. Everytime I duplicate this more complete object, my draw call ramps up to 3. Why is that? What I would expect is that the draw call ramp up to 3 (or possibly just 2) just once even if I have 10 of these low poly objects as long as one (and atleast one) instance of this object is in the screen.
How does UNITY 3 ramp up the draw call in this case anyway?
Updated: Okay, so we tried to make the object made up of only mesh. the object has less than 300 verts and tris and uses only one material. It's pre-animated (animation done outsdie Unity) via bones.
The draw call generated by duplicating each has now lessened to 1 (compared to the 3 earlier), BUT it is still generating that one extra draw call per duplicate.
Any ideas on why this is happening considering that these objects are well below the vert limit and sharing the same material?
Has it got anything to do with the fact that we're animating with bones?
Answer by zannghast · Oct 15, 2010 at 08:30 AM
Dreamora responded to a similar question I posted on the boards:
Unfortunately, I had to learn the grim truth (and just now), that Unity 3 does not batch skinned meshes anymore.
Your answer
Follow this Question
Related Questions
What are the implications of re-writing or porting a game to the iPhone? 2 Answers
Few questions about optimizing graphic performance for mobile devices. 1 Answer
Making a GetComponent array 1 Answer
help with iphone 3GS performance (polys and audio) 2 Answers
Large level loading best practices 1 Answer