Search Unity

  1. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  2. Unity 2017.1 is now released.
    Dismiss Notice
  3. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  4. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

What happens when we use ETC2 on Open GL ES 2.0 devices

Discussion in 'General Discussion' started by Avinash-pdy, Feb 26, 2015.

  1. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    18
    Hi,

    We want to know what is a fallback for ETC2 on Open GS 2.0 devices? We use ETC2 texture format and in player setting we use "force open gl es 2.0".

    Our game still works on devices with both open gl es 2.0 and 3.0. What does unity do if we use a texture with ETC2 on a device where its not supported?

    I searched on net but didn't find any answer to this question.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    4,449
    Generally, unity decompresses texture on the CPU if device's GPU doesn't support its format.
     
    Avinash-pdy likes this.
  3. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    18
    Tautvydas, thanks for your quick reply. This does answer why our game still works.

    We are using "force open gl es 2.0" in player setting for android. Does it mean even on devices where open gl es 3.0 is supported it will still decompresses texture?

    "Decompresses texture" means it will be using RGBA 32 bit or there is a default compression which unity uses if GPU doesnt support its format.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    4,449
    It means it's gonna use RGBA32. Even if the device supports GLES3, but you force GLES2, it will still decompress it on the CPU.
     
    Avinash-pdy likes this.