Page 1 of 1

Gradient and Displacement Map

Posted: Mon Apr 29, 2024 12:57 pm
by Lubo
Hi there,

is it possible to change the colors of an shader / gradient depent of the hight of an displacement map?

THX

Re: Gradient and Displacement Map

Posted: Mon Apr 29, 2024 2:33 pm
by frankmci
Lubo wrote:Hi there,

is it possible to change the colors of an shader / gradient depent of the hight of an displacement map?

THX
If I understand what you are trying to do, you can run the displacement map through a Octane Gradient node and then into the Diffuse channel to colorize the object based on the luma/displacement amount.

Re: Gradient and Displacement Map

Posted: Mon Apr 29, 2024 10:48 pm
by Lubo
Hi, no that is not what I need. I drive the displacement with the C4D Displacer, cause I have some Dynamics Animations on the moving surface.
I need a connection between these two things. Between the Octane Shader and the C4D Displacer if it´s possible.

Re: Gradient and Displacement Map

Posted: Tue Apr 30, 2024 6:40 am
by bepeg4d
Hi,
you could use a Falloff texture in "Normal vs vector 90°" mode:
IMG_0992.jpeg
Then use an Octane Gradient Map for coloring based on the height:
IMG_0993.jpeg
ciao,
Beppe