Hello Guest

Author Topic: Massive number of draw calls for sprites from same atlas  (Read 4198 times)

schragnasher

  • Newbie
  • *
  • Posts: 4
    • View Profile
Massive number of draw calls for sprites from same atlas
« on: September 24, 2012, 01:22:55 am »
I am generating a fairly large number of asteroids for a game. All the asteroid images are in the same atlas, yet when rendering Unity reports a massive number of draw calls, if i disable all the asteroids it goes back to a reasonable level, so it seems than each asteroid is being rendered separately. Obviously this is an issue as i have 400 asteroids. Are there some things I can look for that i might have done incorrectly?

schragnasher

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Massive number of draw calls for sprites from same atlas
« Reply #1 on: September 24, 2012, 04:42:16 am »
Disregard :) we had playmaker debug labels on...2 calls a label and 400 asteroids made Unity sad :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Massive number of draw calls for sprites from same atlas
« Reply #2 on: September 24, 2012, 08:09:06 am »
Glad its sorted :)