How do I change a IcosahedronGeometry object's face with a click?

Try it with this code: https://jsfiddle.net/fg4y3wLa/

You have to enhance the instance of IcosahedronGeometry with a vertex color attribute and then modify the colors for all vertices of a clicked face.

3 Likes