Author Topic: AtlasMaker cutting my sprites  (Read 2677 times)

Jay_Santos

  • Guest
AtlasMaker cutting my sprites
« on: December 06, 2012, 11:55:35 PM »
I have approximately 300 256x256 sprites, like this one:

http://imgur.com/OFovU

However when I create an atlas with all of them using Unity packer, my atlas looks like this.

http://imgur.com/8mh9a (notice that only the bottom left of each image was "copied" into the atlas).

If I do not use Unity packer, the atlas looks fine, but when I try to choose a sprite using the Widget Tool, they are not shown correctly.

Any suggestions? What am I doing wrong here?

Thanks in advance!

dlewis

  • Guest
Re: AtlasMaker cutting my sprites
« Reply #1 on: December 07, 2012, 12:14:37 AM »
300 * 265 = 76800. The largest texture size Unity supports is 4096*4096 with mobile being 2048*2048. You'll need to split them up into many atlases.

Also you are wasting a LOT of texture space. The striped background could take up 32*32 total and be turned into a tiled sprite, Eureka could be text or just a single sprite on the sheet. With that many sprites you should really be trying your best to save texture (and thus memory) space.

Jay_Santos

  • Guest
Re: AtlasMaker cutting my sprites
« Reply #2 on: December 07, 2012, 01:43:35 AM »
Quote
300 * 265 = 76800. The largest texture size Unity supports is 4096*4096 with mobile being 2048*2048. You'll need to split them up into many atlases.

Crap... Of course... Should've seen that coming a mile away...


Sona

  • Guest
Re: AtlasMaker cutting my sprites
« Reply #3 on: February 05, 2013, 11:34:04 PM »
What is best image size which suits for all resolution

lime-green.at

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: AtlasMaker cutting my sprites
« Reply #4 on: February 06, 2013, 03:39:05 AM »
Using UITexture (Simple Texture) or, but not recommended multi atlases.