Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Vijay Poduval on January 05, 2015, 06:51:21 PM

Title: Atlas maker pixel padding issue
Post by: Vijay Poduval 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.
Title: Re: Atlas maker pixel padding issue
Post by: ArenMook 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.