Three.js行的颜色渐变
答
您可以使用顶点&片段着色器来更改顶点[0]和顶点[1]的颜色。 (Line points) 请参阅http://mrdoob.github.com/three.js/examples/webgl_custom_attributes_lines.html