ETC компрессия на Android

Программирование для iPhone & Android

ETC компрессия на Android

Сообщение gnoblin 02 фев 2011, 11:00

Из справки:
ETC as Recommended Texture Compression

While Unity Android does support DXT/PVRTC textures, Unity will decompress the textures into RGB(A) format at runtime if those compression methods are not supported by the actual hardware. This could have an impact on the GPU rendering speed and it is recommended to use the ETC format instead. The ETC compression is regarded as the standard compression format on Android, and should be supported on all post 2.0 devices. ETC however does not support the alpha channel and, depending on the use case for such a texture, RGBA 16-bit might be the best trade-off between size, quality and rendering speed.


So it looks like ETC is the way to go for non alpha images. It would be awesome if Unity would decompress to RGBA 16bit instead of 32bit! But Im sure they thought of that and have a good reason for not implementing it.
--
Т.е. рекомендуют использовать для RGB текстур формат ETC, а для текстур с альфой - RGBA16 (например).

Прикольно - я не знал что pvrct\dxt поддерживаются не на всех андроидах.
skypeid: madkust
Мои крайние проекты:
Убойный Хоккей
Cube Day Z (альфа)
Аватара пользователя
gnoblin
Адепт
 
Сообщения: 4633
Зарегистрирован: 08 окт 2008, 17:23
Откуда: Минск, Беларусь
Skype: madkust
  • Сайт

Re: ETC компрессия на Android

Сообщение fox 02 фев 2011, 11:42

я пробовал проект с сжатыми текстурами PVRTC запускать на андроиде -получались жуткие тормоза!
Ericsson Texture Compression (ETC) http://en.wikipedia.org/wiki/Ericsson_T ... ompression
Добавить foxumkov в Skype
Мои проекты:
Turbodrive
Изображение

Изображение
Аватара пользователя
fox
UNITрон
 
Сообщения: 255
Зарегистрирован: 07 ноя 2008, 13:02
Откуда: Питер
  • ICQ


Вернуться в iPhone & Android

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1