Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    19
    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:
    5,779
    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:
    19
    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:
    5,779
    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.