#Vertex colors question

2 messages · Page 1 of 1 (latest)

thorny sleet
#

Hey guys, a quick question to help me understand things regarding the vertex colors property. For simplicity sake, let's talk about mesh basic material.

When vertexColors is set to false, a triangle is colored entirely with the color specified by the color property, right? What happens then with the colors specified in the buffer geometry for each vertex? Are the ignored altogether?

And when vertexColors is set to true, is the opposite is what's happening? The vertices are colored using the colored specified in the buffer, and the material's color property is ignored?

compact trout
#

With vertexColors: false, it's shaded entirely from color. With vertexColors: true, it's shaded with color * the vertex color.