Author Topic: Why image resolution changed after making atlas by using NGUI Altlas maker?  (Read 6185 times)

Shaheen Group

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 3
    • View Profile
I have 20 images/texture with same resolution 200x160. But after making the atlas their resolution changed.For example after making atlas images resolution are

5 images have 188x151
4 images have 188x150
1 image has 191x154
10 images have 189x152

After this effect animation does not looks smooth. Kindly help me !!!

Thanks in advance.

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Try to uncheck Trim Alpha on Atlas Maker

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
NGUI cuts out invisible pixels, replacing them with padding. This padding is taken into consideration when drawing the sprite, so nothing should be obvious to you. The only way it will stop working is if you manually remove padding values on your sprites.