2D Lighting with Soft Shadows

1 · Scott Lembcke · Aug. 9, 2021, midnight
WebGL example source code This article is an extension of the article about hard shadows. If you haven’t read that one yet, you definitely will want to do that first! The math in this article gets considerably more involved, and you’ll want to have a good foundation. Super Fast Soft Shadows Soft shadows just make everything look better! I think this is true even in pixel art games where the aliased, crunchy look of hard shadows should fit in better. Because of the potential, I spent years, pon...