Closed Vinc3r closed 4 years ago
Test case please with gltf files and basic selector usage :D
cornellBox.glb should do the trick: https://github.com/babylon-runtime/_r.assets/blob/master/cornellBox/exports/glb/cornellBox.glb
Example: on Blender, cornellBox.000
is one object with 4 materials, once in glTF, the main object is converted in a transformNode, parent of one mesh per materials
to allow use of the selector
_r("*:transformnode")
(useful for gltf imports, when a mesh with multimaterials is splitted into submeshes)https://doc.babylonjs.com/api/classes/babylon.transformnode#getclassname