I am trying to draw dynamic line on mouse events in threejs webgl canvas using buffergeometry with raycasting. Can anyone help. Thanks in advance.
Try MeshLine , Mesh replacement for THREE.Line
Instead of using GL_LINE, it uses a strip of triangles billboarded.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.