Hello Guest

Author Topic: diced sprites and batching  (Read 3558 times)

jrhee

  • Newbie
  • *
  • Posts: 10
    • View Profile
diced sprites and batching
« on: June 11, 2014, 10:14:36 pm »
Hi,

Just curious- does setting render mesh to Diced break batching? I'm noticing when I have two diced sprites in a collection, it takes two draw calls to render them, but when I set render mesh to default they're drawn in one. Is this expected?

Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: diced sprites and batching
« Reply #1 on: June 11, 2014, 10:51:48 pm »
Unity will only batch objects < a certain number of triangles.
http://docs.unity3d.com/Manual/DrawCallBatching.html

It depends on how much you subdivided the diced mesh is.

jrhee

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: diced sprites and batching
« Reply #2 on: June 12, 2014, 12:12:13 am »
Ah missed that- right on, thanks.