Randomize UVs by mesh element?

I come from 3DStudio Max / Corona Renderer, and I wonder if it’s possible to add random UV shifts to a texture based on mesh elements (groups of connected polygons). I don’t know UE well enough to be sure that it works the same way as in 3DsMax, but with Corona UVWRandomizer map you can add UV translations and rotation for different mesh properties like polygon, element, mesh instance etc.

I need this to randomize the texture on the elements in a static mesh (wooden planks).

The most direct way is probably using a world aligned material. Then the UV is aligned with the world, not the mesh

If you make them into instances ( pretty reasonable with a lot of identical objects ), you can use per instance random to shift the UVs

Or, you can parameterize the UV offset using custom primitive data

1 Like

Thank you for these tips!

Unfortunately, as far as I can see, they do not address my need directly. These solutions only help randomize material parameters per mesh instance, but not per mesh element. And I am not very willing to use world aligned materials, because I fear I could lose my UV mapping that I did in 3Ds Max.

1 Like

Can’t think of way without using these methods, I’m afraid… :melting_face:

1 Like