Code

The hard-shadow code is described in this thesis.

The revised hard-shadow code is described in this thesis.

New features include:

  • DirectX11-support
  • Gamma-correct filtering workflow
  • New filtering techniques: ESM, EVSM, VSM, SAVSM
  • A PCF reference solution with variable filter size

Note that not all methods have been successfully tested with the warping techniques.

License: feel free to use this code for commercial or non-commercial purposes. We would appreciate feedback if you use it in any way.