Adjusting Exponential Height Fog: Gradual Thickening and Disabling Below a Certain Height

I’d like to disable the exponential height fog below a certain height. Is there a way to achieve this?
What I’m trying to achieve is having the fog gradually thicken as I descend from the sky, but when I cross a certain line, I want the fog to disappear.