Hello,
I have a tiled ground just like this one : https://www.babylonjs-playground.com/#1XBLWB#5
I would like to know if it was possible to highlight only one tile of the ground. To do this I think that I’m supposed to highlight the mesh corresponding to the tile I want but I’m not sure how to do this.
If someone would have clues to give me I’m interested
I read somewhere that I could clone the submeshes from the ground into meshes and then highlight them. Is this the best way to do it ?
@MrC9H13N, I would definitely do this as a custom shader with node material. And honestly, you could do the whole grid with highlights as one node material over a quad which could potentially simplify the number of states you need to handle with multiple meshes. The link that @Deltakosh mentioned could be modified to do this and since you are using squares, you could do away with the texture load as well. let me know if you have questions about the linked demo.