1
$\begingroup$

i have this node setup acting as the displacement, what i would like to do is add a texture or a colour only where the displacement is being added on the object, i would like to make molten like cracks but i cant find the way to apply that colour only on the cracksenter image description here

mesh and node setup

$\endgroup$

1 Answer 1

3
$\begingroup$

You can just add in a mix node, another principled shader and a color ramp.

enter image description here

Create a 2nd principled shader (this will be your lava).

Connect it with a mix shader, use a color ramp and have your displacement nodes connect to it.

Then on your color ramp adjust the flags to your liking.

$\endgroup$
1
  • 1
    $\begingroup$ oh this is gold, thanks a lot pal, i was trying to make a mix color of 2 textures and use the displace node setup as the fac input, that didnt work but this works like a charm <3 $\endgroup$
    – Yasef
    Commented May 29, 2018 at 23:45

You must log in to answer this question.

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