By default, line meshes use alpha blending: highlight layer does not work for alpha blended meshes.
So, you should disable alpha blending:
https://www.babylonjs-playground.com/#1KUJ0A#209
See useVertexAlpha: false
row 19.
By default, line meshes use alpha blending: highlight layer does not work for alpha blended meshes.
So, you should disable alpha blending:
https://www.babylonjs-playground.com/#1KUJ0A#209
See useVertexAlpha: false
row 19.