Reputation: 236
In BufferGeometry, we can use material setting {vertexColors: THREE.FaceColors}
to set different colors for faces. But there is no way to set transparency.
How do you set transparency for different faces in BufferGeometry?
Upvotes: 1
Views: 1936
Reputation: 19602
This is something that has been solved in the dev
branch.
Take a look at this example: https://github.com/mrdoob/three.js/blob/dev/examples/webgl_buffergeometry_rawshader.html
Upvotes: 1