Build this material’s textures from nodes, then paint masks straight onto the model.
Shown tiled 2×2. Every pattern repeats seamlessly.