2D Shadows like in Clash Royale

Hi, I was wondering how I’d be able to simulate shadows like those in the game Clash Royale.

They seem to take the original sprite and distort it a little to make it look like a shadow(The red towers are good examples)

I’d like it to look just like the ones in the image below:
alt text

Any advice on how to get started/specific scripts appreciated!

All the art of this game looks like 3D rendered to 2D sprites so all shadows could be baked in the sprite, really ease. I think is the case.

But you could add a second pass into your sprite shader to render the same sprite but skewed (look for skew transform) and tinted

Edit: You may also look for “shear mapping”