Author Topic: Big atlas and sprite animation  (Read 3086 times)

Jose

  • Guest
Big atlas and sprite animation
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Big atlas and sprite animation
« Reply #1 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.