Author Topic: Atlas Maker exceeding limits  (Read 1757 times)

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
Atlas Maker exceeding limits
« on: February 19, 2015, 04:29:32 AM »
I think there's a problem with the Atlas maker. I have 3 pngs that fit in 2048 x 2048 (including paddings), but the Atlas Maker creates an Atlas of 2048 x 4096, full all the first square (2048x2048) fully transparent.
Is there any way to fix it? I could send you the pngs if you need to be sure I'm not doing something wrong.

Regards.
Game developer on Casual Arena.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas Maker exceeding limits
« Reply #1 on: February 19, 2015, 02:07:40 PM »
Long & narrow sprites are difficult to pack for the Unity's packer algorithm. It treats them as squares, basically. Get rid of long & narrow sprites, and you'll be fine.

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
Re: Atlas Maker exceeding limits
« Reply #2 on: February 20, 2015, 03:31:18 AM »
Indeed I have a 980x214 px texture. Are you meaning the packer is treating it as a 980x980 texture?
Does it apply to every texture? It so, it's very unefficient  :-[
Game developer on Casual Arena.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas Maker exceeding limits
« Reply #3 on: February 21, 2015, 08:08:50 AM »
Yes and yes. You can try turning off Unity packer checkbox in the Atlas Maker.