Why does GLTF export Textures in PNG format?

Hi all

I am using BABYLON.GLTF2Export.GLTFAsync command to export GLTF files which have textures in jpg. End result textures are in PNG which have a larger size of course.
Why is this?. I thought the whole idea of gtlf files was to make 3D faster.

PNG support alpha while JPG does not. We do have a feature request filed recently to export JPG if possible: Sandbox exporter to support preserving embed jpg format of a loaded .glb · Issue #8090 · BabylonJS/Babylon.js · GitHub

Contributions would be welcome here.

Definitely preserving original textures (hence jpg ) is a MUST

1 Like