Docs

Guides

Paint the depth

Paint the relief depth by hand with vertex colours, from flat to the full HeightScale_cm.

UseVertexPaintDepth (group 03 Relief) lets you fade the relief out where a mesh meets something, or make it deeper in places, without a second material.

  1. On your instance (or a child instance), tick UseVertexPaintDepth and pick the channel in VertexPaintChannel (0 R by default).
  2. Paint that channel in Unreal's Mesh Paint mode, or bake vertex colours into the mesh in your modelling tool and import them with the mesh.
  3. Black gives PaintedMinDepth times HeightScale_cm (0 = flat), white gives the full depth, and grey is in between.

What was tested: a 2 m plane (64 x 64 quads) with a black-to-white gradient baked into its vertex colours (channel R), imported once as a Nanite and once as a non-Nanite mesh, with a child of MI_ReliefPOM_AngularRocks (PaintedMinDepth 0), on Windows D3D12 in UE 5.8: on both meshes the relief grows from none at the black end (the same as relief off) to the full depth and self-shadow at the white end. Painting in Mesh Paint mode itself was not tested.