# 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 )

void agk::SetShadowSmoothing( int mode )

## Parameters

- mode - 0 to use no smoothing, 1 to use multismapling, 2 to use random multisampling