Base parameters for the maximum number of lights to use when creating a GPUCameraRenderer.

interface GPUCameraRendererLightParams {
    maxAmbientLights?: number;
    maxDirectionalLights?: number;
    maxPointLights?: number;
}

Properties

maxAmbientLights?: number

Maximum number of AmbientLight to use. Default to 2.

maxDirectionalLights?: number

Maximum number of DirectionalLight to use. Default to 5.

maxPointLights?: number

Maximum number of PointLight to use. Default to 5.