Advertisement

Shadows in Diligent Engine

Started by July 24, 2019 08:03 AM
1 comment, last by DiligentDev 5 years, 5 months ago

Diligent Engine now implements some shadow rendering BKMs:

- Cascaded shadow maps with cascade stabilization
- PCF
- Variance shadow maps
- Two and four-component exponential variance shadow maps
- Optimized fixed-size or world-sized filter kernels
- Best cascade search based on projection into light space
- Filtering across cascades
- Various artifact removal techniques

The main goal is to create a plug-and-play shadowing component that can be easily integrated into applications. The component consists of a shadow map manager and few shader functions. A Shadows sample demonstrates how to integrate Diligent shadows into an application.

Screenshot.jpg.d73b38b1a52477f14d60673b55b2edad.jpg

Check it out on GitHub: https://github.com/DiligentGraphics/DiligentEngine#high-level-rendering-components-1

I am planning to add exponential shadow maps and moment shadow maps later. Are there any state-of-the-art shadowing techniques that I should also take a look at?

Credits:

Variance Shadow Maps

Shadow sample update by MJP

Shadow Explorer sample from Intel

Cascaded Shadow Maps technical article by Microsoft

Also, check out the shadow map tutorial that demonstrates the basic steps to render and use the shadow map.

Animation_Large.gif.6b67303ab0c0d6c71583d14b0a590e17.gif

 

This topic is closed to new replies.

Advertisement