Ray Marching Soft Shadows in 2D
11 points by xyproto
11 points by xyproto
This is such a nice demonstration and guide for how to implement distance fields and soft shadows in 2D
If interested, I wrote a post on the same topic (well, painting with emissive material, rather than single point) in my style.
You can turn off the sky radiance with the sun/moon button.
I also wrote about "radiance cascades" (a modern, more efficient, noise-less method) as a follow-up post.