PointLight used to create the PointShadow.
OptionalcameraOptional PerspectiveCamera near and far values to use.
Optionalnear?: numberOptional PerspectiveCamera near value to use. Default to 0.1.
Optionalfar?: numberOptional 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.
OptionalintensityIntensity of the shadow in the [0, 1] range. Default to 1.
OptionalbiasShadow map bias. Default to 0.
OptionalnormalShadow map normal bias. Default to 0.
OptionalpcfNumber of samples to use for Percentage Closer Filtering calculations in the shader. Increase for smoother shadows, at the cost of performance. Default to 1.
OptionaldepthSize of the depth Texture to use. Default to Vec2(512).
OptionaldepthFormat of the depth Texture to use. Default to depth24plus.
OptionalautoWhether 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.