Skip to Content

August 2015 - benchung.com

Vertex Colors in Three.js

|Three.js|0 Comments

Vertex colors in three.js can be easily achieved using the built in geometry.vertices.push function and the THREE.VertexColors attribute when setting up a custom GLSL shader: First, draw the geometry: (more…)