WebGL Shadow Maps Part 2: Lighting

In part one we got the basic technique working and created a shadow map. To keep part one as focused as possible, no other lighting calculations were done, leaving us with a shadow map but some weird self shadowing. Now we’re going to smooth our pixelated edges, add lighting calculations, clean up our code, and […]