Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Nelien · Jul 26, 2012 at 09:00 AM · texturemobilescene-loadingatlasoptimisation

One atlas per scene or one (larger) atlas across multiple scenes?

I'm making a relatively simple game for mobile with only 5 scenes (SplashScreen, MainMenu, Loading, Game, Win) and limited art assets. This means I can potentially fit all my art for the entire game on one or two atlases at 1024x1024 (and the material/shader would be Mobile/Particles/Alpha Blended for all).

So at this point I'm wondering, what's the best way to go. Using one atlas per scene, but repeating some reused textures, such as fonts and UI elements. OR use larger but fewer atlases that are used across all scenes but potentially loading larger textures than needed for a specific scene?

In essence, I'm wondering, does Unity have to reload the textures between every scene change or does it keep the texture in memory if it knows it's going to use it again on the next scene?

Much appreciated!

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nelien · Jul 30, 2012 at 10:02 AM 0
Share

Anything? I'd be very helpful if anyone could give me a little insight on this.

avatar image Kryptos · Jul 30, 2012 at 10:50 AM 1
Share

One atlas per scene seems to be better, keeping memory usage at a $$anonymous$$imum.

avatar image Nelien · Jul 30, 2012 at 10:55 AM 0
Share

Thank you $$anonymous$$ryptos! This would mean that the fonts I use, I would have to put on all the atlases repeatedly since I have text in all the scenes. Essentially having something like 5 512x512 atlases ins$$anonymous$$d of 1 1024x1024 atlas.

Still, I think you're right and it would also help keep things slightly cleaner in terms of texture organisation.

avatar image Kryptos · Jul 30, 2012 at 11:12 AM 0
Share

For the font I would recommend to use a separate atlas with mipmapping disabled. Therefore you could use this atlas for all your scenes with the extra cost of one draw call.

avatar image Nelien · Jul 30, 2012 at 11:16 AM 0
Share

Hmm, interesting. Well, I have mip-mapping disabled on all my textures since it's a 2D/orthographical game and I don't change the perspective or distance the objects are rendered at. $$anonymous$$y understanding was that then I don't save any rendering performance with mip-maps and ins$$anonymous$$d I save some memory usage by disabling them.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

2D optimisation - mobile devices 0 Answers

How To Apply A Texture Atlas For UI Image Objects? 0 Answers

Splatmapping / blending between two textures in an atlas? 0 Answers

Multiple materials or texture 1 Answer

Repeating Images From an Atlas 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges