Back to the Shapespark home page

Support for GIF

Do you think it will be possible at some point to use GIF for textures?

1 Like

WebGL doesn’t support GIF. I was able to find some attempts to support GIFs in WebGL engines by parsing the file in JavaScript and manually converting it to individual texture frames. I’m not sure if such support can be good enough in terms of performance and memory usage. Similar can be achieved by converting GIF to video with some offline tool, and videos are supported natively in WebGL with proper streaming - so there is no need to keep the whole video file in browser memory.

Thank you Jan. I will take this in consideration.

@tim maybe this help us to find a GIF substitute solution
https://ezgif.com/help/alternative-animated-image-formats
@jan WebGL support EPNG or WebP images?


or
https://static.ezgif.com/images/format-demo/butterfly.webp

Thank you for the links!