Optional
autoEnables automatic updates of the light's shadow. If you do not require dynamic lighting / shadows, you may set this to false
.
Optional
biasShadow map bias, how much to add or subtract from the normalized depth when deciding whether a surface is in shadow.
Optional
cameraShadow camera defining.
Optional
intensityThe intensity of the shadow. The default is 1
. Valid values are in the range [0, 1]
.
Optional
mapDefining the width and height of the shadow map
Optional
needsWhen set to true
, shadow maps will be updated in the next render
call.
If you have set autoUpdate to false
, you will need to set this property to true
and then make a render call to update the light's shadow.
Optional
normalDefines how much the position used to query the shadow map is offset along the object normal.
Optional
radiusSetting this to values greater than 1 will blur the edges of the shadow.toi
Light shadow options
Export
LightShadowOptions
Date
2024.1.3
Author
yisky