Basic shadowmap Rendering the shadow map Setting up the rendertarget and the MVP matrix The shaders Result Using the shadow map Basic shader Result - Shadow acne Problems Shadow acne Peter Panning Aliasing PCF Poisson Sampling Stratified Poisson Sampling Going further Early bailing Spot lights Point lights Combination of several lights Automatic light frustum Exponential shadow maps Light-space pe