How to set the second texture to some polygons in the generated mesh?

Hello! I have the generated mesh and a material with a tiled texture. But I need to set yet one texture (that will be tiled too) to some polygons of my generated mesh. How can I make it?
P.S. As I understand I can use material with two texture. But I can’t get how I can set different textures for separate polygons.

Submeshes.

1 Like

Alternatively, if you want to keep it to 1 material, you could have a shader that has two textures and lerp between them using vertex colors (which you’ll add to your procedural mesh).

1 Like

In my case it’s the best solution. And it solves yet one problem that I tried to resolve. Many thanks!