Outline mesh based on data

Hi guys,
currently I got some 3D data for creating a mesh, that includes kind of extra data for the outline of the mesh
(LinePositions and LineIndices). I think this Outline Data describes those edges, that should be visible/highlighted.
Is there a possibility to use this with Babylon.js?
It seems like all ways I know dont use extra data ( mesh.renderOutline, mesh.renderOverlay, glow layer, highlight layer ).
Thanks

If you have data for lines, you can create and draw them using MeshBuilder.CreateLines or MeshBuilder.CreateLineSystem.

1 Like

I just found out about “Rendering Edges”. This seems interesting, too.