SetShadowSmoothing

Description

Sets the smoothing mode for the shadow map. Mode 0 turns smoothing off and results in the fastest shadows but produces hard edges. Mode 1 is slightly slower but produces softer shadows by sampling the shadow map multiple times. Mode 2 uses random multisampling to avoid banding produced by mode 1, but is slower still.

Definition

SetShadowSmoothing( mode )

Parameters