three.js icon indicating copy to clipboard operation
three.js copied to clipboard

How to apply transparency to an object without affecting vertex colors?

Open MohanSawant opened this issue 13 years ago • 2 comments

Hello, I am creating meshes by using THREE.BufferGeometry. I have vertex level colors and it works. Now I am trying to apply transparency to the mesh. I can apply transparency using THREE.Material, but there I need to supply material color and my vertex colors have no meaning then. I want to preserve my vertex colors and apply the transparency too. How can it be achieved?

MohanSawant avatar Aug 27 '13 06:08 MohanSawant

Have you supplied vertexColors: THREE.VertexColors to the material as a parameter? also, help requests should be done via stackoverlfow, this board is for bugs & enhancements. Please put a question on stackoverflow next time or for further problems... :)

GuyGood avatar Aug 27 '13 10:08 GuyGood

As stated in the guidelines, help requests should be directed to stackoverflow. This board is for bugs or feature requests.

mrdoob avatar Sep 06 '13 05:09 mrdoob