Mi code works fine in the PG, the exact same code does not work in mi project.
setMultiMaterial() and computeSubMeshes() gives me a “is not a function” error.
Do i need to import extra files to make this work?
Mi code works fine in the PG, the exact same code does not work in mi project.
setMultiMaterial() and computeSubMeshes() gives me a “is not a function” error.
Do i need to import extra files to make this work?
Are you using the preview cdn ???
No, downloaded Babylon scripts.
Mi project imports:
babylon.js
babylon.gui.min.js
babylon.inspector.bundle.js
babylonjs.loaders.min.js
babylonjs.materials.min.js
babylonjs.postProcess.min.js
babylonjs.proceduralTextures.min.js
babylonjs.serializers.min.js
Are you using the latests from Babylon.js/dist/preview release at master · BabylonJS/Babylon.js · GitHub ?
No, ill try that.
Than you very much!