Search Unity

Recommended textures extension type (DDS, JPEG, PNG, TIF, TGA?) for iOS

Discussion in 'iOS and tvOS' started by skyrick, Jan 22, 2014.

  1. skyrick

    skyrick

    Joined:
    Feb 2, 2013
    Posts:
    21
    Hi,

    I try to export a project to ipad3, but I've problems with the DDS generated in DXT3*, the unity compilation crash and console show "DXT3 not compatible with the target device" or someting like that...

    Are there a recommended texture type to work with iOS device ? (and alpha)
    Or just avoid using extension DXT3 with the DDS ?

    * DXT3 generate with the nvidia photoshop DDS plugin (see attached file)
     

    Attached Files:

    • $dds.jpg
      $dds.jpg
      File size:
      139.4 KB
      Views:
      1,286
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    The source file format normally doesn't matter, since those files are not usually used in a build; what matters is the settings in Unity. e.g., uncompressed, PVRTC 4-bit, etc. Do not use JPEG for source textures since that's a lossy format. However, if you save your texture in an already-hardware-compressed format, Unity won't touch it, which in this case is bad because iOS hardware cannot use DXT, it uses PVRTC. So under most circumstances you save files in a convenient format such as PSD (if you use Photoshop) and set the compression type in Unity.

    --Eric