Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8266729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:15:55+00:00 2026-06-08T05:15:55+00:00

I’m writing a 3D iOS game in Unity3d, and can’t find a complete and

  • 0

I’m writing a 3D iOS game in Unity3d, and can’t find a complete and straightforward answer about including different texture sizes for different devices.

First up, I am making the assumption that a truly universal app will require 3 versions of each texture… (low res for non-retina iPhone/iPod, 2x res for retina iPhone/iPod and non-retina iPad, and now 4x res for retina iPad) I am also assuming that based on the apple-defined naming convention, downloading an app to a specific device will download only the appropriate textures. Otherwise downloading all three resolutions to an old non-retina phone would contain 95% deadweight.

The Apple documentation linked says to use “@2x” in the texture filename for retina devices, as well as “~ipad” or “~iphone” as appropriate for the device.

https://developer.apple.com/library/ios/documentation/2DDrawing/Conceptual/DrawingPrintingiOS/SupportingHiResScreens/SupportingHiResScreens.html#//apple_ref/doc/uid/TP40010156-CH15-SW8

Assuming a low res atlas file of 1024×1024, and following the above naming convention, we’d now have to include four files per image, but two of those files are identical apart from the filename?

eg:

(1024 x 1024) myAtlas~iphone.png
(2048 x 2048) myAtlas@2x~iphone.png 
(2048 x 2048) myAtlas~ipad.png 
(4096 x 4096) myAtlas@2x~ipad.png 

Is this correct?

I guess my confusion stems from being able to easily use the same texture resolution for both non-retina iPads and retina iPhones/iPods since the screen resolutions are reasonably similar, but the naming convention Apple suggests does not seem to take advantage of that.

This will be my first published app on iOS, maybe I have missed some point entirely? or maybe some of my assumptions are wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:15:58+00:00Added an answer on June 8, 2026 at 5:15 am
    1. Yes, the naming convention doesn’t provide a way for iPhone retina and iPad non-retina to share images.

    2. The naming convention only applies to the UIImage class and related API. While you can load OpenGL ES textures from UIImage/CGImage, by no means are you required to. Name your files whatever you want, use the UIDevice class (or corresponding GL APIs) to determine the screen size, and locate the appropriate texture files yourself using the NSBundle class. (Also see the Apple sample code site for some examples of using PVR texture files.)

    3. I’m afraid your assumption regarding what gets downloaded to the device is incorrect. The .ipa bundle you submit to the App Store gets downloaded unchanged to whatever device your user installs it on — if you submit a universal app with resources for four different device resolutions, it’ll install with all four sets of resources on the device even though three go unused.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
I am writing an app with both english and french support. The app requests
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.