Should I use etc1 or Texture.defaultTo4bpp(true)

Started by kiffa, March 06, 2014, 12:30:45 PM

Previous topic - Next topic

kiffa

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.


EgonOlsen

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.