I am pretty sure I am using webp, the format of one frame of VP8 codec, for my video capture work flow. It only works on Chrome. Have you tried it on that browser?
FYI, extensions have to be supported at the browser level and higher. Not something doable at applications level. I saw that Safari has started to support it. Think you should re-think your plans.
Correction, this is not a Webgl extension, but gltf, so yes it is implemented below the browser level. Unless it is easily searched on how to convert to a 2 dimension array of values, it might be challenging.
I would say to just rely on the browser support, and if not raise an error if the extension is tagged “required”: it would make for an easy implementation and would still provide support for the major browsers.
Yes, meanwhile webp is supported by most browser at newest version and Safari will follow soon. The compression is massive wherefore I would love to use it with babylon.
The gltf extension I mentioned above allows to load the webp if the browser supports it and if not it uses a fallback to load the jpg or png.
Cool because Im talking to @MackeyK24 about adding support to the Unity Toolkit. One of my coworkers showed we the compression savings with webp and I got excited.
If you are using glTF files, yes, webp support is an extension, so if it’s not availalbe it will fall back to a default texture (if you provided one!).
Webp is working. For some reason both web and png files are loaded from the server together. I would like to download only webp if the browser supports it.