Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Jose on May 05, 2012, 04:58:06 AM

Title: Big atlas and sprite animation
Post by: Jose on May 05, 2012, 04:58:06 AM
Hi! I have to do sprite animation which consists of 83 files size of about 1000x420 px. With the atlas size 4096x4096 px I can place only about 36 sprites there. How can I enlarge atlas's size or can I find another way to make that animation, not with UISpriteAnimation script? Thank you!
Title: Re: Big atlas and sprite animation
Post by: ArenMook on May 05, 2012, 07:11:47 AM
My suggestion -- reconsider your approach. 4096x4096 is the maximum texture size allowed by Unity.

A single 4096x4096 Truecolor texture is 67 megabytes of video memory. 88 megabytes if you've used mip-mapping.

Your 83 textures will take up 139 megabytes of memory at minimum, 183 megabytes with mip-mapping.

Needless to say, that's excessively large.