Color Gradient for Three.js line
问题 I only can find THREE.LineBasicMaterial(). Is there a way to have a simple color gradient from point a to point b? 回答1: You can use Vertex & fragment shaders for change color for vertices[0] and vertices[1]. (Line points) See http://mrdoob.github.com/three.js/examples/webgl_custom_attributes_lines.html 来源: https://stackoverflow.com/questions/11589274/color-gradient-for-three-js-line