Sprite drop-shadow shader

Hi there,

I’m looking for a sprite drop shadow shader for my game, does anyone know any shader for these effects. It’s a drop shadow and outline (just like photoshop).

Any help will be much appreciated.

PS: the games is for mobile platform.

In terms of performance, it would be best to just add this to the sprite in photoshop. Mainly the outline, which requires a number of input samples (texture lookups) in a shader. A drop shadow just needs one extra sample, so that is doable. What would be the reason to not do it in photoshop? Are any of the parameters dynamic?

1 Like