Multiple strip lines in one draw call

370 views Asked by At

I want to draw a lot of strip lines and performance is very important to me so I can not use thousands of draw calls.

My first solution is using LineSegments with duplicate indexes like this

[1,2,2,3,3,4,4,5,  1,7,7,6,6,8, ...]

I know about BufferGeometry and ShaderMaterial and instancing. Are those better than my solution?

0

There are 0 answers