expo / expo-three

Utilities for using THREE.js on Expo
MIT License
711 stars 87 forks source link

AVIF and WEBP texture support #295

Open kevinhu opened 1 year ago

kevinhu commented 1 year ago

I'm building an app that has some high-resolution textures, and I was exploring storage methods for the textures. Some of my textures have partial opacities, so I can't use JPEGs for them. However, when I tried to convert them to AVIF and WEBP and load those afterwards, the objects ended up being black on iOS, though they rendered well on web.

Is there any documentation on why AVIF/WEBP images don't render well in iOS or are there known patches to make them work?