three-meshline icon indicating copy to clipboard operation
three-meshline copied to clipboard

add support for vertex colors

Open trusktr opened this issue 3 years ago • 0 comments

we already have the vColor variable in the shader here,

https://github.com/lume/three-meshline/blob/b4a5ebd074b7b3345ee34bb768a9706cfa01e82f/src/THREE.MeshLine.js#L360

we just need to support setting it from a color vertex attribute. Align the API with vertexColors that three.js materials have.

trusktr avatar Jan 14 '23 01:01 trusktr