How can we make a soft drop shadow for a UMG Image?

There are multiple ways to achieve shadows, such as Gaussian blur.
In this plugin I used a different approach by calculating the distance from a point to a rectangle to determine the color of the shadow.