Dropshadow effect for 2D player sprite.
Parameters-
1, Rescalefactor - Reduce the shadow height by a percentage (0. = no change)(up to 100=flat)
2, blurAmount - Shadow blur amount. 0 to 6, 4 recommended.
3, shadowOpacity - Shadow opacity. 0 to 100, 16 default.
The effect works best best if your texture is a couple of pixels smaller than the bounding box.
fx files and demo capx-
https://dl.dropboxusercontent.com/u/22173473/DropShadFiles.rar
04/04/2016
'DropShadColor.fx
Added Parameters for Shadow color(rgb)