Page 1 of 1
Offseting UV's randomly
Posted: Wed Apr 19, 2017 4:56 pm
by MantasKava
Hey guys.
So how do i offset my UV's/texture randomly on a bunch of instances? C4D here.
Thanks!
Re: Offseting UV's randomly
Posted: Thu Apr 20, 2017 3:31 pm
by bepeg4d
Hi MantasKava,
you need to use a gradient node in complex mode with the random color node as input, look at this example with the same texture and different uv transform values:
ciao beppe
Re: Offseting UV's randomly
Posted: Thu Apr 20, 2017 6:12 pm
by MantasKava
Hey Bepeg4d,
Thank you alot for your effort.
It ALMOST works, the only problem is (and you can see it in my attached screenshot) that all of those textures gets blended on top of each other, and it shouldn't be this way. You can see it better if you input different textures into gradient node and lick them to diffuse channel.
Is there a way to overcome this?
Re: Offseting UV's randomly
Posted: Thu Apr 20, 2017 9:04 pm
by FrankPooleFloating
I believe you need to change Interpolation to Constant.
Re: Offseting UV's randomly
Posted: Fri Apr 21, 2017 1:30 pm
by MantasKava
FrankPooleFloating wrote:I believe you need to change Interpolation to Constant.
That was it! Thanks!
Re: Offseting UV's randomly
Posted: Mon Mar 01, 2021 10:53 pm
by Paquitopistolas
Hi everyone! I´m using the 2020 version and It doesn´t work for me, I guess I'm doing something wrong but I don't know what

Re: Offseting UV's randomly
Posted: Tue Mar 02, 2021 7:21 am
by bepeg4d
Hi,
please note that Random Color node works only for Render Instance/Multi Instance cloners, and the multi-texture Gradient cannot work with Texture Displacement, you need Vertex Displacement instead:
https://docs.otoy.com/cinema4d/OSLVerte ... ement.html
ciao Beppe
Re: Offseting UV's randomly
Posted: Mon Mar 08, 2021 6:46 pm
by Paquitopistolas
Thank you for the quick answer, but I still can't get it to work, not displacement at all...

Re: Offseting UV's randomly
Posted: Tue Mar 09, 2021 8:15 am
by bepeg4d
Hi,
please check that the Displacement nodes connected to the Vertex Displacement Mixer are both set to Vertex Displacement, instead of Texture Displacement.
ciao Beppe