How do you split a texture in multiple parts and material randomly choose between the parts

I know I’ve followed a tutorial before where you could do this but I can’t seem to find it anywhere, I think my wording when asking the question is poor.

The image below is my texture, I just want to make a single material out of it and every time this material is used it will randomly choose between the three images.
I remember that somewhere I set the U = 1 and V = 3, and that is how you tell the material how to split it up but I cannot figure out how/where to do this.

1 Like


Hi! You need to drive your texture with this graph. With the “param” you can select wich picture do you want to see from the texture. If you have tree picture in your texture you can choose beetwin them with 0, 0.333, and 0.666. After that you need to create a material instance from this material, and with that you can drive this graph from a blueprint. Sorry for my English.

1 Like