Page 1 of 1

Color variations

Posted: Thu Mar 02, 2017 12:54 pm
by BorderLine
Hi,
I need help with Octane materials ! I use LW instancing for populate with grass and i want to apply general variation color on my grass ground ! How can i do please ?

Here exemple ! viewtopic.php?f=36&t=58467&p=300738&hilit=grass#p300738

Re: Color variations

Posted: Thu Mar 02, 2017 1:01 pm
by juanjgon
You can use the RandomColor node to get a random gray value between 0 and 1 for each instance and link this node to a gradient node to configure the color variations.

Thanks,
-Juanjo

Re: Color variations

Posted: Thu Mar 02, 2017 1:06 pm
by BorderLine
Pehaps an example please ?

Re: Color variations

Posted: Thu Mar 02, 2017 1:15 pm
by juanjgon
This is the idea. You can also use the output of the gradient node to multiply or mix textures or colors.

Thanks,
-Juanjo

Re: Color variations

Posted: Thu Mar 02, 2017 1:27 pm
by BorderLine
Thanks Juanjo ! Much appreciated !

Re: Color variations

Posted: Thu Mar 02, 2017 1:59 pm
by BorderLine
Ok, tested, it's good ! But, now, suppose i want made variation on a texture image already connect to input texture. For grass, leaves, etc , i've Octane diffuse and Octane Glossy connect to Material Mixer. How can i random color to the Octane texture image who is already connected to Diffuse ?

Re: Color variations

Posted: Thu Mar 02, 2017 2:30 pm
by juanjgon
You could use the multiply texture node to multiply the base texture and the gradient output.

-Juanjo

Re: Color variations

Posted: Thu Mar 02, 2017 5:01 pm
by FrankPooleFloating
Another way is to plug a handful of leaf/grassblade/etc textures into Octane ColorCorrect Texture nodes (with varying hues, saturations and brightness etc) and plug those into Gradient2 node. 4 or 5 seems to do a nice job...

Re: Color variations

Posted: Thu Mar 02, 2017 5:24 pm
by BorderLine
Ok ! Thanks