This is probably an easy question, but let’s say I have a Node Material snippet I load as a JSON file.
const nodeMaterial = new BABYLON.NodeMaterial("mat", scene);
nodeMaterial.loadAsync("http://127.0.0.1:5000/pbr.json").then(() => {
console.log(nodeMaterial.getBlockByName('Bump texture'));
});
What I want to be able to do is update the bump texture to a dynamic URL. Is there an example of this somewhere?