Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Here is one tested scene: https://1drv.ms/u/s!AmJWLwEI5fMPoD7PIoj7Z043GxGf The issue occurs for every clicked texture in the scene.
  2. I have tested with some of my models and with multiple scenes from the https://github.com/KhronosGroup/glTF-Sample-Models repository so it may not be scene specific. The error from the minified bundle is thrown from the render() function in texturePropertyGridComponent.tsx . I will try to inspect it further.
  3. Don't know where i was looking. 😅 Thanks. One thing i have noticed when using the Sandbox is, that the inspector windnow closes when clicking on a texture in the scene explorer and doesn't reopen unit i re-toggle the inspector. The playground inspector works as expected though.
  4. Hey. I use the inspector constantly when developing scene. Love the new update but I can't seem to find the properties on for example PRB materials (roughness, metallic, ...). Is this planed or is it just me not finding it? 😅
  5. Hey. While working with PBR materials i have noticed that the name and id are not applied when cloning the material. Instead it uses it's parent name and id. For comparison here is the cloning snippet for the standard material and PBR materials, where the id and name are not reset prior to returning. StandardMaterial.prototype.clone = function (name) { var _this = this; var result = BABYLON.SerializationHelper.Clone(function () { return new StandardMaterial(name, _this.getScene()); }, this); result.name = name; result.id = name; return result; }; PBRMetallic
  6. Oh, I understand. Thanks for celaring this up Cheers
  7. Hey! So i have recreated the situation with a sample model. http://www.babylonjs-playground.com/index.html#EAY2GH#1 I have found that only importing models with mtl files are affected by this. I have also added a button to apply the materials manualy, as I have mentioned. Are the any problems that I am missing with applying materials on models with mtl files? Thanks for the help!
  8. Hello I am still somewhat new to Babylon and i'm having the following problem. I am loading an .obj model into my scene and I wish to apply a standard material onto the meshes, after the model has loaded. But my problem is, that the materials are not applied in the success callback. I have a button to maually apply the materials and it works fine. document.getElementById("applyMaterials").addEventListener("click", function(e) { var meshMaterial = new BABYLON.StandardMaterial("meshMaterial", scene); meshMaterial.backFaceCulling = false; meshesGlobal.forEach(function(element)
  • Create New...