A simple auto-action to create shadows faster and easier
Select the flat color layer and run the auto-action.
( The white light will act as a lighting. Adjust it to your liking )
Then hit "Ok" to create the shadows. Enjoy!

Some examples of use

A simple auto-action to create shadows faster and easier