Welcome,
Guest
. Please
login
or
register
.
April 23, 2026, 08:48:03 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas behavior, sprites getting deformed/cut
« previous
next »
Print
Pages: [
1
]
Author
Topic: Atlas behavior, sprites getting deformed/cut (Read 2578 times)
Zephire
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 4
Atlas behavior, sprites getting deformed/cut
«
on:
August 15, 2014, 03:44:38 PM »
Hi,
I've been working on getting the basics done for a game I'm working on while using blank space holders for every single item in the GUI. Once all logic and gameplay functioned to my liking I wanted to start making/adding the actual art into a new Atlas to finish things up and get a first playable version out.
However some weird things seem to happen when I add images into my new Atlas. At first all goes well when adding them in one by one.
However after a couple more the below happens.
I figured it might had something to do with not using the last up to date version, so I've updated to 3.6.9 and retried, same results...
Does anyone have any idea on what might be happening? Or someone that has experienced this before?
Thanks in advance!
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas behavior, sprites getting deformed/cut
«
Reply #1 on:
August 16, 2014, 09:58:09 AM »
Happens when your texture gets shrunk by Unity as a result of cramming too much content into an atlas. Look at your stats. Your texture is already 4096x4096. You can't possibly put any more stuff in there.
Also note that a 4k by 4k texture is 67 megabytes of memory. You might want to reconsider using atlases with large textures. Atlases are to speed up drawing of a bunch of small textures. Don't bother putting things into an atlas if they are bigger than 512x512.
Stick to regular textures and use UITexture to draw them.
Logged
Zephire
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 4
Re: Atlas behavior, sprites getting deformed/cut
«
Reply #2 on:
August 16, 2014, 12:51:50 PM »
Thanks for the heads up ArenMook,
Will add them as textures and keep the Atlases for the lower size textures.
Cheers,
Z
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas behavior, sprites getting deformed/cut