Hi all, I’m quite new to Babylon world.
I need to modify the GLTF viewer of vscode to do something custom.
The first problem I have is with textures
I would like to define a set of fallback folder
BABYLON.GLTFFileLoader.IncrementalLoading = false;
BABYLON.SceneLoader.AppendAsync(rootPath, 'data:' + gltfContent, scene, undefined, '.gltf').then(function () {
scene.createDefaultCameraOrLight(true);
scene.activeCamera.attachControl(canvas);
scene.activeCamera.wheelDeltaPercentage = 0.005;
Practically I don’t want to modify the gltf but intercept his loading and eventually look in some fallback folder for textures…How can I do this?
I do not know enough the API , so I’m struggling a little bit
thanks