three.js forum
How to change the color of the polygons of an object during a collision in Three JS?
Questions
collision-detection
,
color
tfoller
August 23, 2022, 9:31pm
2
You can change colors of individual vertices of a geometry using
vetrtexColor
attribute, like so:
show post in topic
Related Topics
Topic
Replies
Views
Activity
Vertex color on mesh
Questions
geometry
1
654
April 13, 2023
How to use the latest version to achieve the older version of the `vertexColors: THREE.FaceColors` effect
Questions
materials
,
geometry
,
vertex-colors
3
470
June 15, 2023
Three.js options
Questions
materials
,
options
2
288
August 16, 2021
Issue with intersectsBox
Questions
collision-detection
2
1447
November 10, 2020
Changing the color of the polygons
Questions
textures
,
materials
,
geometry
2
196
March 28, 2023