Vertex Color Materials

How to set up materials that utilize Vertex Color so that you can paint colors in Mesh Paint Mode.


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:


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.


Then, painting on the mesh supplies this result:


Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback