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 citycrusher · Apr 19, 2012 at 09:18 AM · iostexture

Understanding Texture Formats for iOS: PVRTC 4bit RGBA VS. 16bit RGBA

I see all over the place that 4bit PVRTC is preferable to 16 bit, but 16 bit uses less vram and texture size is significantly smaller by MB.

EDITED TO ADD: Yet in the inspector window the memory goes down (as expected), while stats go up? It's kind of confusing... is the unity stats window broken?

Is there a hidden way 4bit PVRTC is better on iOS, as in stats I see no obvious advantage.

Is the compression of PVRTC format better for speed rendering or something like that it is just better to use if possible?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DamienSturdy · Apr 19, 2012 at 10:42 AM

When developing for iOS I have found the in-editor stats to be very inaccurate, with massive effort put into reducing the size according to the editor, actually increasing size in game.

PVRTC will only work if you use a ^2 texture (256x256, 512x512, 1024x1024 etc) - If the texture does not fit this requirement it will not be compressed and will use more memory.

Ignoring PVRTC for a second, something else I found out at the same time as this is that if your texture is 1024x513, and you set it's type to GUI, it will, according to the editor, use less memory than a 1024x1024 texture, but on the iphone, this texture will be upsized to 1024x1024- meaning the amount of memory being used on the phone is significantly more than what is recorded in editor.

Hope these help- It cought me out for a few months and almost caused our project major issues. It was a passing comment by the project leader that accidentally hit the nail on the head with the above- You are better off using power of two for every texture, than selecting GUI or Advanced with no Pow2.

Another example- I managed to shave several MB off my game's memory usage because I split the side panel into three pieces of 256x256 instead of one piece of 768x768 (it upscaled to 1024x1024 in the latter instance).

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Image size correlation between disk and memory 1 Answer

Identical material with different textures 0 Answers

Texture on instantiated asset bundle sometimes black only on iPhone 0 Answers

Show 3d object on device live camera in Unity3d for iOS 0 Answers

Download images from url, save to device, load into UGUI 4 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