Hi my friends,
Recently I read the tutorial of PBRMaterial here
https://doc.babylonjs.com/overviews/physically_based_rendering_master
I wanna display the object exporting from Blender by Tower of Babel (TOB)
However, it comes out with all-black on my object(mesh)
The code is jus like the following :
var texture_from_file = new BABYLON.Texture("dress.jpg", scene);
var pbr = new BABYLON.PBRSpecularGlossinessMaterial("pbr", scene);
for (var i = 0; i < scene.meshes.length; i++){
scene.meshes[i].material.diffuseTexture = texture_from_file;
}
Any advice to let me display the mesh with PBRMaterial (or similar texture) ?
Thank you so much