Can you make a shader for shadows?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Drawsi

I’m trying to make a 2d game have a 3d effect using the shadows and so far I have a top down shooter game reminiscent of APE OUT, yet the effect is quickly lost if there’s a long wall or a lot of space in between them.

So I tried taking some online shaders and hoping they would work for shadows, yet none do. Any ideas if it’s possible or should I try to go another way with my idea?

:bust_in_silhouette: Reply From: Mrpaolosarino

Use Light 2d and Occluder 2d. No need for shaders.
1.Create a light 2d node, goto shadows- and enable it.
2.Add texture to light 2d(Gradient circle of light or whatever your preference)
3.Add occluder to your walls or tileset

and you’re good to go