Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Shaheen Group on March 11, 2015, 07:28:58 AM

Title: Why image resolution changed after making atlas by using NGUI Altlas maker?
Post by: Shaheen Group on March 11, 2015, 07:28:58 AM
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.
Title: Re: Why image resolution changed after making atlas by using NGUI Altlas maker?
Post by: r.pedra on March 11, 2015, 09:40:50 AM
Try to uncheck Trim Alpha on Atlas Maker
Title: Re: Why image resolution changed after making atlas by using NGUI Altlas maker?
Post by: ArenMook on March 12, 2015, 07:50:41 PM
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.