Hi:
Is is possible to make a layer have a shadow? I know I can solve the problem by adjusting my sprites but was hoping there could be a programatic way. I cant seem to see anything documented so maybe there is a GL trick or something. This is how i would image the solution would work...
1) I have a layer with transparent sprites (pngs) on.
2) Grab the layers alpha channel and create a grey layer behind the layer with the alpha data.
3) Displace the shadow layer a couple of pixels right and down.
No blurring or anything complex like that... just a crisp shadow of a layer.
Any pointers would helpful, even if the answer is NO... put the shadows in your sprites. :)
Regards:
John