Optional
maxMaximum number of AmbientLight to use. Default to 2
.
Optional
maxMaximum number of DirectionalLight to use. Default to 5
.
Optional
maxMaximum number of PointLight to use. Default to 5
.
Optional
maxMaximum number of SpotLight to use. Default to 5
.
Optional
useWhether to use uniform
instead of storage
binding type for the shadows bindings. In some case, for example when using models with skinning or morph targets, the maximum number of storage
bindings can be reached in the vertex shader. This allows to bypass this limit by switching the shadows binding from storage
to uniforms
, but restrict the flexibility by removing the ability to overflow lights. Default to false
.
Base parameters for the maximum number of lights to use when creating a GPUCameraRenderer.