I want to create a shadow effect similar to the one found in JoyMasher's Blazing Chrome.
Notice that the shadow clips when you're on a ledge, and projects to the geometry below.
Currently, my shadows are just sprites which I disable when the character is not grounded.
I don't care how JoyMasher did it, I just want to achieve something similar.
How might I achieve an effect similar to the one in Blazing Chrome?
I am working in Godot, but would be fine with an engine-neutral description of a technique.
I have access to all the normal stuff (raycasts, shaders, and so on). That said, I am working in pure 2D, so I can't use any kind of 3D light source emitting downward to achieve the effect.