Shadow Mapping in OpenGL 3+ (Core Profile)
Examples of shadow mapping with percentage-closer filtering, use of variance shadow maps (VSM), and VSM used with a cubemap.
Examples of normal shadow mapping (with PCF), VSM, and VSM together with a cubemap.
C++