Imported mesh is separated into sub meshes

Hi,
When a mesh has multiples materials in blender (picture 01),
the mesh is separated into sub meshes. (picture 02)
How can i handle the mesh as one object?
(I loaded the mesh using assetManager)

image

You can try to bake into 1 material, but a material is a shader. For each shader you are going to have a draw call.

1 Like

Thank you. I think it is for the best now.
I would be happy if there is another way.

I guess you’re using a gltf export? If so, this 1 material = 1 mesh is part of the convention (actually it’s more like one node can contain only one mesh and one material): glTF/specification/2.0 at master · KhronosGroup/glTF · GitHub

1 Like

Using babylon exporter works as i expected.
Thanks for explanation.