# SetShadowMapSize

## Description

Sets the shadow map resolution in pixels. Good values are 512x512 or 1024x1024, it does not need to be a power of two in size. The higher the resolution the better quality the shadows will be, although performance will be lower with higher resolution shadow maps.

## Definition

SetShadowMapSize( width, height )

void agk::SetShadowMapSize( int width, int height )

## Parameters

- width - The width in pixels to use for the shadow map
- height - The height in pixels to use for the shadow map