shaderMaterial for Line object

My goal is to be able to control a lines vertices and possibly segment colors with custom attributes and shaders. I’ve seen examples ( ) of this done with ParticleSystems, but haven’t been able to render lines with similar techniques. This is the basic look I’d like to get, but via shader rather than explicit vertex positions :

Author: Fantashit

1 thought on “shaderMaterial for Line object

Comments are closed.