Question Regarding GLTF Reference Points

Hi BabylonJS Gurus!

I have a mesh in GLTF format that my application uses. I’m wondering if there is an easy way to reference points on the surface of the mesh to be looked up in a custom material. My goal is to have a red dot on each of these referenced points using a custom vertex/fragment shader.

Can these reference points be defined in the mesh somehow, or will I have to define them in the application? I used blender to export the model to GLTF.

Any help is greatly appreciated!

You could store this info in either the second uv set or the vertex colors ???

Else you could consider using decals ? Decals | Babylon.js Documentation

1 Like

I’m not sure how this was implemented, but the Render vertex normals toggle option in the Inspector (in any Playground) can do something similar