ShadowOptions
interface ShadowOptions
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| darkness | number | ✔️ | 0.5 | Darkness of the shadow. | 
| mapSize | number | ✔️ | 9 | Size of the shadow map. Texture of size (n * n) where n = 2 ^ (mapSize) will be used as shadow map. Should be an integer value. | 
| blur | number | ✔️ | 3.5 | Blurriness of the shadow. | 
| shadowScale | number | ✔️ | 1 | Scale of the shadow range. This usually means which height of the 3D model shadow will be affected by. | 
| planeScale | number | ✔️ | 2 | Scale of the shadow plane. Use higher value if the shadow is clipped. |