multiLight

Combines multiple light sources.

This causes the renderer to repeat the surface shading process for each light and then combine the results.

If shadows are enabled, this can have a significant impact on performance.

Each light source can optionally specify an SDF that defines the bounds of the area where that light is used. This can help to optimize rendering if one light is only needed in certain areas.

Parameters

Name Description Regular Handling Read-Only Handling
Enable 1 Runtime Baked
Level 1 Runtime Baked
Bounds 1
Enable 2 Runtime Baked
Level 2 Runtime Baked
Bounds 2
Enable 3 Runtime Baked
Level 3 Runtime Baked
Bounds 3
Enable 4 Runtime Baked
Level 4 Runtime Baked
Bounds 4
Enable 5 Runtime Baked
Level 5 Runtime Baked
Bounds 5
Enable 6 Runtime Baked
Level 6 Runtime Baked
Bounds 6
Enable 7 Runtime Baked
Level 7 Runtime Baked
Bounds 7
Enable 8 Runtime Baked
Level 8 Runtime Baked
Bounds 8

Inputs

  • Light 1: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds1
  • Light 2: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-2] inputOp1
  • Light 3: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-3] inputOp[1-2]
  • Light 4: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-4] inputOp[1-3]
  • Light 5: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-5] inputOp[1-4]
  • Light 6: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-6] inputOp[1-5]
  • Light 7: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-7] inputOp[1-6]
  • Light 8: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Light
    • Supports Variables From Inputs: bounds[1-8] inputOp[1-7]
  • Bounds 1: (optional)
    • From Parameter: Bounds 1
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
  • Bounds 2: (optional)
    • From Parameter: Bounds 2
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds1 inputOp1
  • Bounds 3: (optional)
    • From Parameter: Bounds 3
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-2] inputOp[1-2]
  • Bounds 4: (optional)
    • From Parameter: Bounds 4
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-3] inputOp[1-3]
  • Bounds 5: (optional)
    • From Parameter: Bounds 5
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-4] inputOp[1-4]
  • Bounds 6: (optional)
    • From Parameter: Bounds 6
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-5] inputOp[1-5]
  • Bounds 7: (optional)
    • From Parameter: Bounds 7
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-6] inputOp[1-6]
  • Bounds 8: (optional)
    • From Parameter: Bounds 8
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: LightContext
    • Return Types: Sdf
    • Supports Variables From Inputs: bounds[1-7] inputOp[1-7]