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?
Use PBRMaterial you can get pure color. But I have no answers to other questions.
You can try using the
customEmissiveColorSelector function of the glow layer and see if that helps: