How to create casted shadows?

I’m looking for a custom node that can create natural casted shadows from objects. Any suggestions?

Thank you