2D Toolkit Forum

2D Toolkit => Support => Topic started by: Demian on March 11, 2014, 01:21:43 pm

Title: Tiled sprite adds one draw call?
Post by: Demian on March 11, 2014, 01:21:43 pm
Hi
I'm confused about tiled sprites. If i have 2 sprites - tiled and simple, with the same material, i get one additional draw call. Why this happening?
Toolkit ver. 2.3.3
Unity 4.3.3f1
Title: Re: Tiled sprite adds one draw call?
Post by: unikronsoftware on March 11, 2014, 01:31:47 pm
You've perhaps tiled too much? Dynamic batching is limited in the number of vert attributes it'll batch (https://docs.unity3d.com/Documentation/Manual/DrawCallBatching.html). If you exceed that amount by tiling, it will no longer batch.
Title: Re: Tiled sprite adds one draw call?
Post by: Demian on March 11, 2014, 04:14:12 pm
Yes, you're right. Too much vertices
Thanks for reply