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.
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.
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: