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.
OptionaluseWhether the shadow casting meshes should be rendered using a RenderBundle. Default to true.
The light that will be used to cast shadows.
Base parameters used to create a Shadow.