Soft | |
ShadowMapSize gets or sets and integer value that represents the size of a shadow depth map texture.
The value defines the width and height of the texture. For example value 1024 means that a 1024 x 1024 texture is used.
The shadow depth map texture is used to store depth information - distance of a pixel from the light.
Bigger texture will produce more detailed shadows but will be slower to render. Also, to bigger texture will require bigger blur amount to achieve nice soft edges.
Default value is 1024.