Gl linestrip code

Is there no way to use gl.LINE_STRIP when creating a shader?
If there is an example of applying texture and size, I think it will be very helpful.

Rendering primitives via gl.LINE_STRIP can be achieved by using the Line class.

However, keep in mind that lines do not support textures. And they are only 1 pixel wide. If you need wide lines, please use the respective implementation from the examples directory.

https://threejs.org/examples/?q=fat

Lines are rendered as meshes in this case.

1 Like

looking at your ripple,
After searching I found that opengl doesn’t support textures for line_strip.
Looks like I’ll have to find another way.