I don't claim that this is "perfection" but as an example
https://jsfiddle.net/c06fkq2a/
Use white for the key-light shadow, and a black for the ambient shadow.