I'm trying to make a procedural landscape using the displacement node. It works fine until I try to put it through a color ramp to cap the top and bottom. Instead of making the height cap shorter, it stretches the mesh to the top and bottom.
The pictures are from the same perspective. I'm in cycles and have material settings displacement set to displacement and bump. Any clues what I'm doing wrong? Also I was following this tutorial: https://www.youtube.com/watch?v=jyvbRJJTzY4&t=660s