I do have only ONE big mesh imported to BabylonJS. I need to visually highlight a small part (let us call it HotSpot) of the big mesh.
What I did so far:
Extracted all the positions via getVerticesData
Collected the vertices
Filtered only vertices of interest (HotSpot)
So I ended up in an array vertexMapHS comprising all the HotSpot vertices.
Now I need to either highlight using a HighlightLayer or apply a different color all the vertices in vertexMapHS.
Does anybody have a hint how to do that?
Here is the playground of what I have got so far:
https://www.babylonjs-playground.com/#XG8RH3#7
Thx in advance