How to do it...

Vertex painting requires at least a couple of different elements that we'll need to set up – a material that can be used with this technique and the actual painting of vertex values on the meshes on which we are going to be operating. We'll take care of those two parts in that order, so let's start things off by creating a new material:

  1. Create a new material anywhere you fancy within the Content Browser and give it an appropriate name. I've gone with M_ VertexPaintingExample_End for this particular example.
  1. Assign the previous material to the model you want to work on. If you've opened the map we are providing, that will be the lamp in the center of the level. 
  2. Open up the material editor by double-clicking on the newly ...

Get Unreal Engine 4 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.