Standalone GLTF Materials?

Yes you can, simply add:

    BABYLON.SceneLoader.OnPluginActivatedObservable.add((plugin) => {
        plugin.loadAllMaterials = true;
    });

This will load the materials from your file even if they are not used by any mesh. So a file with only materials can be loaded by using this flag.

1 Like