This is a D3D11 sample app that demonstrates several techniques for rendering real-time shadow maps. The following techniques are implemented:
- Cascaded Shadow Maps
- Stabilized Cascaded Shadow Maps
- Automatic Cascade Fitting based on depth buffer analysis, as in Sample Distribution Shadow Maps.
- Various forms of Percentage Closer Filtering
- Variance Shadow Maps
- Exponential Variance Shadow Maps (EVSM)
- Moment Shadow Maps
This code sample was done as part of 2 articles for my blog, which you can find here:
The repository contains a Visual Studio 2015 project and solution file that's ready to build and run on Windows 7, 8, or 10. All external dependencies are included in the repository.