Material with layers for painting the mesh through vertex paint

Hello everyone, I need to create a material for a static mesh that will paint geometry through a vertex paint, the material should consist three layers and in each layer there should be a diffuse map, normal map and rаfnes. Could you please tell me how to do this. I saw a video on YouTube of how it was made, but I can’t find it. Thank you.