2 Vertex Color Sets for 1 Mesh

Hey everyone,

I would like to use Vertex Color for my brick material. I would like to use a medium destroyed brick wall, a completely destroyed brick wall, moss, leaks, wetness and damage. But as there are only 3 channels, I would need 2 vertex colour sets. Just like in this video: https://www.youtube.com/watch?v=DEuYcOWNV2k&t=665s&ab_channel=AdobeSubstance3D (minute 17:45)

Does anyone know of a way to implement this in the Unreal Engine?
It would be a huge help for me.

Thank you so much :slight_smile:

watch this:

then this:

then you have choice:

  • change material instance applied to mesh
  • or change parameter in dynamic material instance

Both instance material and dynamic instance material are almost same, only difference is that you need to create dynamic material instance in blueprints, apply it to mesh, then you can change parameters dynamically,

for material instance you can change parameters in editor only.

You have 4 parameters in vertex color: RGBA

so you can blend 5 materials:

  • first background with all RGBA as zero
  • then for each channel 1 texture blended in
    And you always can swap either instanced texture on mesh or texture parameter in material

Thank you very much for your help :blush:
So there is the possibility of a maximum of 5 materials. Do you know how this works with nanite? When I activate nanite for a mesh, vertex painting no longer works. Is there a good solution for this?