2D Shadows - how to do it

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By infamousninja44
:warning: Old Version Published before Godot 3 was released.

I found video https://www.youtube.com/watch?v=AR5NhWqoVvo, could anyone tell me how to do that?

:bust_in_silhouette: Reply From: lukas

Check the lights_shadows demo from Godot demos.

:bust_in_silhouette: Reply From: zendorf

And make sure you have a large sprite background for the shadows to fall on. The first time I tried this, I couldn’t work out what I was doing wrong. It ended up being a lack of anything for the shadows to cast onto. Once, again…see the example for reference :slight_smile: