For my game, I need to be able to generate drop shadows. The kind that only span the bottom right. Like this (neglect the blue square):
Given a 2D array of RGBA pixels, how could I generate a drop shadow bitmap?
Thanks
This is done by a Gausian blur of a black square. It also can be done with every other shape.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With