How move color ramp z axis to 0,01?

Hi!

Since Years, i dont understand the behaviour of the color ramp.

Can anyone please explain me, why it isnt possible to stretch the ramp constantly over the objects z axis, or tell me how to do it?
Ive had the position on 0,0000x but it (the white color) still was not on the ground or somewhere near it… same with the mapping coordinates z controller.

Thank you very much!

The texture coordinates node se t to object uses the origin of the object as a 0 point. So if your origin is somewhere above z=0 you will have to compensate for example with a mapping node.

3 Likes

Instead of using the gradient and mapping node you can also simply separate the objects coordinate vector and only use the z component.
then send it through a map range node where you define from where to where you want your gradinet to range. Like here in this image:

4 Likes

Also you could use generated cords instead of object, generated cords go from 0 to 1 of the bounding box.

5 Likes

Thanks a lot for help. :+1:

It was the midlevel of the displacement modifier. I´ve set it to zero, et voila, it worked as it should. Somehow i didnt see it before.