Demo running

One gap between the object and the floor sets the radius and opacity of the contact shadow by formula: small and dark when close, wide and faint when far.