Vertex Color Materials

This page describes how to set up materials that utilize Vertex Color so that you can paint colors in Mesh Paint Mode.

Windows
MacOS
Linux

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, here is 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 looks like this:

Click image for full size.

This material has been desaturated a bit, giving us more room to add color using 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 image for full size.

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

When you switch to Mesh Paint mode, make sure the tool is set to Colors mode as shown below.

ColorPaint_Settings.png

Then, painting on the mesh produces this result:

ColorPainting.png

Select Skin
Light
Dark

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