Hey I'd would like know when the texture is loaded on PBR glTF workflow, I did this code :
assetsManager = new BABYLON.AssetsManager(scene);
var textureTask = assetsManager.addTextureTask("albedoTexture texture", "assets/test/lambert1_baseColor.jpg", true, false);
albedoTextureTask.onSuccess = function(task) {
console.log(task.texture);
meshes.material.albedoTexture = task.texture;
}
assetsManager.load();
The material assignation does nothing