Skip to main content

ShadowOptions

interface ShadowOptions
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
darknessnumber✔️0.5Darkness of the shadow.
mapSizenumber✔️9Size of the shadow map. Texture of size (n * n) where n = 2 ^ (mapSize) will be used as shadow map. Should be an integer value.
blurnumber✔️3.5Blurriness of the shadow.
shadowScalenumber✔️1Scale of the shadow range. This usually means which height of the 3D model shadow will be affected by.
planeScalenumber✔️2Scale of the shadow plane. Use higher value if the shadow is clipped.