Language:
Page Info
Skill Level:
Engine Version:

Vertex Color Materials

There are really an infinite number of ways one could use the colors from a Vertex Color material expression. For this setup, we are going to keep things relatively simple and just multiply the colors into an existing material. This allows us to have the original texture in place, but to tint it with the Mesh Paint tool.

First, take a look at the example mesh:

Statue.png

In order to make this paintable, we need to get the Vertex Color material expression worked into the network. The base material network begins like so:

Click for full size.

This material has been desaturated a bit, giving us more room to add color via the Mesh Paint tool.

To get our vertex colors worked into the material, we simply need to intercept the Base Color connection and multiply it by a Vertex Color expression's RGB value, like so:

Click for full size.

Within the commented area, you can see where we have added a Multiply node and a corresponding Vertex Color node.

And now, when you switch to Mesh Paint mode, and make sure the tool is set to Colors mode.

ColorPaint_Settings.png

Then, painting on the mesh supplies this result:

ColorPainting.png