Author Topic: Atlas maker pixel padding issue  (Read 2334 times)

Vijay Poduval

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 2
    • View Profile
Atlas maker pixel padding issue
« on: January 05, 2015, 06:51:21 PM »
Hi,

In the atlas maker, when I increase the pixel padding to anything more than 1 pixel, the sprites in my atlas are messed up.
More specifically, the textures are not tightly packed and co-ordinates of individual sprites are completely mis-aligned.
This issue is not there for smaller atlases, it is seen only for one particular atlas which is quite large and has nearly 100 sprites in it.
Is there a limit to the number of sprites in an atlas?

I hope I have made the issue clear, if not I can share screen shots.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas maker pixel padding issue
« Reply #1 on: January 06, 2015, 10:55:15 AM »
There is no limit on the number of sprites. My atlas in Windard has something like 300+ sprites in it for example. Perhaps you are simply exceeding the limits of a single texture. Remember, textures can't be more than 4096x4096 in Unity on desktop, and mobiles are generally capped at 2048x2048.