Skip to main content Link Menu Expand (external link) Document Search Copy Copied

multiLight

beta

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

  • Enable 1:
  • Level 1:
  • Bounds 1:
  • Enable 2:
  • Level 2:
  • Bounds 2:
  • Enable 3:
  • Level 3:
  • Bounds 3:
  • Enable 4:
  • Level 4:
  • Bounds 4:
  • Enable 5:
  • Level 5:
  • Bounds 5:
  • Enable 6:
  • Level 6:
  • Bounds 6:
  • Enable 7:
  • Level 7:
  • Bounds 7:
  • Enable 8:
  • Level 8:
  • Bounds 8:

Inputs

  • definition_in_1: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_2: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_3: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_4: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_5: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_6: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_7: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • definition_in_8: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Light
  • bounds1: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds2: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds3: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds4: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds5: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds6: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds7: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf
  • bounds8: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: LightContext
    • Return Types: Sdf