How to draw lane lines with width

I hope that based on this demo, the lines can support custom widths. It would be even better if the effect could be similar to Tesla’s roadside design

You can try with Line2, three.js examples. Just remember to use it with LineMaterial and LineGeometry, instead of the regular LineBasicMaterial and BufferGeometry.

1 Like