Shadow Mapping

GUI component

The Tinman 3D SDK contains a general-purpose shadow-mapping component (see ShadowMapping API), which can be used to setup and perform real-time shadow-mapping for arbitrary scenes.

The Shadow Mapping GUI component displays the shadowmap contents and provides means for tweaking the shadow-mapping calculations.

ShadowMappingGui

Overlap

Use the Overlap slider to adjust the amount of overlap between adjacent shadowmap cascades.

Light bleed

Use the Light bleed slider to adjust the coefficient for fixing light bleeding in areas that are shadowed by multiple occluders.

Perspective

The Perspective checkbox enables or disables perspective adjustment in the shadowmap matrix, in order to improve the sample distribution in the shadowmap.

Optimize

The Optimize checkbox enables or disables adjustment with a custom affine transformation, in order to maximize utilization of shadowmap space.

This feature is not available yet.