Does anyone know if LineMaterial from the fat lines example supports lights?
I’m passing in lights: true
and I get a console error. I can see that it extends ShaderMaterial
in the source code, so does that mean there’s a chance for light support in the future?
Consider lights
as a read-only property. It’s not intended that user set it.
Sorry to disappoint you but I don’t think this will happen. Although wide lines are rendered via triangles, they are still lines. Lines similar to points do not have normals which allows lighting calculations.
3 Likes