Is there a better way to "feather" the edges of a mesh?

I have been looking everywhere for a solution to this. Is anyone able to tell/show me how to recreate the effect in the third image on a material in unreal engine? I have been trying to create a material that’s soft on the edges like that but I couldn’t find any tutorials, explanations, or guides on the topic.

It should be pretty much the same solution I came up with. You create a fresnel node in the material editor, then subtract that from the opacity.

I will try that. Thank you for the help!