Parallax Occlusion Mapping with Adaptive Shadows

parallax-occlusion

The wall has only two polygons. The illusion of depth is done by ray tracing in texture tangent space. Note how the stones occlude each other even if there is no geometry.

Notice also how the shadows adapt to the depth as well. This is done by using virtual displacement of position in shadow mapping.

The second image is debug visualization of the parallax occlusion mapping effect.

The whole pipeline is using deferred shading, which enables scenes with high number of simultaneous dynamic lights (up to 100s). The shadow map rendering code uses caching to eliminate need for rendering shadow maps frequently. This enables that even all lights in the scene are able to cast dynamic shadows.

Tags: , , ,  

Leave a Reply