3
$\begingroup$

Basically, I wanted to create marble tiles with the array modifier and a texture I downloaded.

But I'm not quite sure how to make it look like it isn't just repeating. I'd like some randomness to it but I'm not sure how to achieve it. Could anyone help with this?

enter image description here

$\endgroup$

1 Answer 1

7
$\begingroup$

Since Blender 2.8, you've been able to set a U and V offset per element in an array. Well,OK, that's an offset. But it gives you access to more.

The elements' UVs change at the same rate as the Generated UVs of the whole array. So if you have set any UV offsets in your Array modifiers, and then take the difference between the element UV and the array's Generated UV, you get a per-element UV: a pair of numbers which is constant per element, but different for each, which you can use for anything you like. (Shown as color in the array on the left, below.)

enter image description here

In this example, the per-tile UV has been used to look up a color from a Noise texture. The R and G found in the noise at that coordinate have been used to displace the Y location and Z rotation of an image texture, per tile.

$\endgroup$
1
  • 3
    $\begingroup$ Robin Bestt strikes again! $\endgroup$ Mar 4, 2020 at 7:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .