Is it possible to create cast shadows like those of Android icons?

I would like to know if it would be possible to create shadows, just like the ones you can create using this tool when you select the “Cast shadow” option:

Android Asset Studio - Launcher icon generator (

I tried to use the Stylize > Dropshadow effect, but this is actually quite different, as what I want is kind of a very long shadow that extends from the source layer until the bottom right corner of the image.

There isn’t any built in way to do this. It’s kind of a neat effect though.