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?
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?
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