Can we customize materials while merging meshes

Can we customize different materials to different meshes even after merging or if not, what is the work around?

PG -

You can use multiMultiMaterials parameter of MergeMeshes: Mesh | Babylon.js Documentation

Like this:

var sample = BABYLON.Mesh.MergeMeshes([mesh,box], true, false, null, false, true)

In your playground:

thank you!