What is the best way to detect if GLB file is Draco compressed?

For example, using the SceneLoader?
The ‘file’ can be GLB or UINT8 array.

cc @bghgary, I’m not sure we’re passing this information up…

You can use onParsedObservable to access the JSON from the glTF. Then look at the extensionsUsed property.


Thanks, it works!
Example - https://playground.babylonjs.com/#10D6YT#1032

1 Like