proper way to blend objects to make seamless shadow gradient

How do I make seamless shadow gradient in order to create curved 3d effect on objects surface?