Split a ground mesh on the several parts with same logic

Hey, everybody!
I am starting to learn BabylonJs and have come across the following question:
Is it possible to mesh ground or its analog, how to split into x submesh variants and set each resulting submesh to have the behavior of material change on mouse cursor hover effect?

I realize that I can create 6 grounds separately and mesh them and impose logic on each one, however it seems to me that performance-wise it would be a poor solution.
I know that mesh can be split into submesh, but I haven’t figured out how to add material to the submesh.


This is the way :wink: