Hello Guest

Author Topic: Tiled sprite adds one draw call?  (Read 3325 times)

Demian

  • Newbie
  • *
  • Posts: 3
    • View Profile
Tiled sprite adds one draw call?
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tiled sprite adds one draw call?
« Reply #1 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.

Demian

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Tiled sprite adds one draw call?
« Reply #2 on: March 11, 2014, 04:14:12 pm »
Yes, you're right. Too much vertices
Thanks for reply