Is it possible to modify displacement based on depth fade?

I looked into doing this with distance fields. To test it, I plugged the output of this section of nodes into the base color so I could see the shoreline it detects. Everything I found on the subject led to roughly the set of nodes shown in the included image, but it always comes up with a very thin outline. I need a much thicker area of effect to use for the shore. Is there a better way to use distance fields for detecting a shoreline?