I want to change the color of some faces on a certain mesh by setting the “VertexBuffer.ColorKind” property. But when the mesh has its own material and the diffuseColor is not white, vertex color is affected by the diffuseColor. I cannot get what I want. How can I do?
I believe this will not be possible without writing a custom shader. With a custom shader you would be able to do some custom logic, such as using the alpha value of Vertex colors as a “mask” and having something like this: