Refraction issue.

Ive noticed if you have anything plugged into the refraction input, even 0, it refracts.
Ive checked the shader options and under the default refraction mode IOR is set to 0. If you change this to pixel normal offset it seems to kill the refraction entirely, even if you crank the IOR to a crazy amount.
I basically just want to add some distortion to a plane but with some falloff so we dont see the edges. Is this possible?

Was the material using a Fresnel node? There’s also a lerp between the scalar IOR value and another scalar for the falloff. I don’t know how to get the edge detection into it though.