• 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
8
Question by inveni0 · Dec 25, 2009 at 03:36 PM · textureiphone

Texture Size Guidelines for iPhone

I'm using Unity3D on iPhone (trial), and I'm wondering what the texture size limitations are. Do I need to pack my entire scene into a 1024x1024 texture? If not, what are the restrictions? Any help/guidelines to follow would be fantastic. I'm trying to see if Unity3d is the route I want to go for developing this game.

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
10
Best Answer

Answer by Jessy · Dec 25, 2009 at 05:34 PM

You can use as many 1024x1024 or lower textures as you want, until you run out of memory. iPhone apps don't run slower if you run out of memory - they simply crash. (You're not allowed to use virtual RAM because that would kill the life of the flash card used inside.) The textures only need to be square if you want them compressed. And you probably do.

Comment
Add comment · Show 2 · Share
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 inveni0 · Dec 25, 2009 at 08:46 PM 0
Share

Awesome. Thanks!

avatar image Seth Illgard · Feb 04, 2010 at 03:19 AM 0
Share

Thanks for the tip

avatar image
6

Answer by Jared G. · Oct 06, 2010 at 09:21 PM

It depends on which iOS device you are targeting.

Here is a list of hardware capabilities of each iPhone version: http://unity3d.com/support/documentation/Manual/iphone-Hardware.html

The limit on the older iThouches, Original iPhone and iPhone3G is a max texture size of 1024x1024 using OpenGLES 1.1 (very simple vertex texturing, no real fragment shaders)

Later iPhone 3GS, iPhone 4, third-generation iPod touch, and the iPad support a max texture size of 2048x2048, OpenGLES 2.0 and real pixel pipeline for fragment shaders.

As for arranging your textures, combining where possible is a VERY good strategy. For example, creating a single large texture for all of your static level geometry allows your entire level to be drawn with just a single Draw call.

Unity helps enhance performance with a lot of the finer details under the hood (batching occlusion culling), but it can only to so much with poorly optimized textures/geometry. If you make smart use of as few textures as possible, you will see much better performance.

Comment
Add comment · Share
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
0

Answer by ModernWayInteractive · Dec 25, 2009 at 04:47 PM

Hey! I'm almost sure that 1024x1024 is the maximum size of texture for the iPhone. You can however use more then one texture. They also have to be square. (32x32, 64x64, 128x128, 256x256 etc. :)

Can anyone confirm this? Good luck with your iPhone project!

Comment
Add comment · Show 1 · Share
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 Seth Illgard · Feb 04, 2010 at 03:19 AM 1
Share

This should not be an answer but a comment

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Black Textures on iPhone 3 Answers

Dynamically choosing a high resolution texture at runtime on iOS devices 1 Answer

Load texture and shaders at runtime on iPhone 2 Answers

How many 1024x1024 textures can an iPhone handle? 1 Answer

lowering draw calls 5 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