How to make LineMesh glow?

LineMesh and its default materials are not available.So I set up a standard material for LineMesh, but there was a problem, when I rotated the camera, the LineMesh got dirty!There is an alert in the console panel:[.WebGL-000059EC00214200] GL_INVALID_OPERATION: Must have element array buffer bound…May I ask how to solve this problem?

https://playground.babylonjs.com/#YUI7AW

Use PBRMaterial you can get pure color. But I have no answers to other questions.
https://playground.babylonjs.com/#YUI7AW#1

You can try using the customEmissiveColorSelector function of the glow layer and see if that helps:

https://playground.babylonjs.com/#YUI7AW#2