Author Topic: Should I use etc1 or Texture.defaultTo4bpp(true)  (Read 1810 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Should I use etc1 or Texture.defaultTo4bpp(true)
« on: March 06, 2014, 12:30:45 pm »
My purpose is for reduce memory usage\texture bandwith.

Which one is better?(for performance\memory usage\generation time\visual quality\compatibility and so on). - Assume the texture doesn't have alpha.


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Should I use etc1 or Texture.defaultTo4bpp(true)
« Reply #1 on: March 06, 2014, 08:38:57 pm »
ETC1 usually provides the better image quality but it requires more time at startup. You can fight this by using http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Config.html#cacheCompressedTextures. Memory wise, it's the same as 16bit textures and so is performance (at least i have never noticed any difference). Compatibility is slightly lower than 16bit textures, because in theory, not all devices support ETC1. However, i never came across one that didn't.