- Home /
Question by
Nick4 · Jun 12, 2014 at 09:54 AM ·
performancedrawcalls
Amount of game objects doesn't affect draw calls?
I have like 40 game objects with sprite renderers on my scene. The number of draw calls is somewhere around 32. However, when I copy those game objects only to make their sprite renderer's colors darker to create their shadows, the amount of my draw calls stays the same. I thought draw calls also depends on the number of the game objects? Does it not? If it doesn't, don't I still get a significant drop on performance by doing so?
Thanks in advance.
Comment
Best Answer
Answer by robertbu · Jun 12, 2014 at 05:21 PM
If your objects have below 900 vertex attributes, and they share the same materials, and you don't modify the material at runtime, the draw calls are usually batched together.
Your answer
![](https://koobas.hobune.stream/wayback/20220613151349im_/https://answers.unity.com/themes/thub/images/avi.jpg)