Water refraction corrupt

Yes I tried it with this tutorial: Using Refraction | Unreal Engine Documentation

How can i fade out the refraction at spots where it is not possible to refract :stuck_out_tongue: