PointLight used to create the PointShadow.
Optional
cameraOptional PerspectiveCamera near and far values to use.
Optional PerspectiveCamera near value to use. Default to 0.1
.
Optional PerspectiveCamera far value to use, if the PointLight range
is 0
. If the light range
is greater than 0
, then the range
value will be used instead. Default to 150
.
Optional
intensityIntensity of the shadow in the [0, 1] range. Default to 1
.
Optional
biasShadow map bias. Default to 0
.
Optional
normalShadow map normal bias. Default to 0
.
Optional
pcfNumber of samples to use for Percentage Closer Filtering calculations in the shader. Increase for smoother shadows, at the cost of performance. Default to 1
.
Optional
depthSize of the depth Texture to use. Default to Vec2(512)
.
Optional
depthFormat of the depth Texture to use. Default to depth24plus
.
Optional
autoWhether the shadow should be automatically rendered each frame or not. Should be set to false
if the scene is static and be rendered manually instead. Default to true
.
Base parameters used to create a PointShadow.