lume / three-meshline

Mesh-based replacement for `THREE.Line` to allow lines thicker than 1 pixel and other features.
https://docs.lume.io/three-meshline/
MIT License
42 stars 4 forks source link

fall back to ultra-fast GL_LINE_STRIP mode when sizeAttenuation is false and line width is 1 #6

Open trusktr opened 1 year ago

trusktr commented 1 year ago

When sizeAttenuation is false and lineWidth is 1, we should essentially just render the same as THREE.Line, with the added bonus of features like .advance().