Direct 3D - Soft Shadows

By Dan Bradshaw

This is the most recent version of the spotlights system I’ve created in my second year. It has support for any number of lights (within reason! :D) and supports different projected textures for each light.

It makes use of comparison filters to make PCF shadow filtering faster and create smoother, better looking shadows.

The video above demos an earlier version which only supported one light.