multiLight
light
multiLight
RayTK
v0.42
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
- Coordinate Types:
-
Light 2
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
LightContext
- Return Types:
Light
- Supports Variables From Inputs:
bounds[1-2]
inputOp1
- Coordinate Types:
-
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]
- Coordinate Types:
-
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]
- Coordinate Types:
-
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]
- Coordinate Types:
-
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]
- Coordinate Types:
-
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]
- Coordinate Types:
-
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]
- Coordinate Types:
-
Bounds 1
: (optional)- From Parameter:
Bounds 1
- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
LightContext
- Return Types:
Sdf
- From Parameter:
-
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
- From Parameter:
-
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]
- From Parameter:
-
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]
- From Parameter:
-
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]
- From Parameter:
-
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]
- From Parameter:
-
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]
- From Parameter:
-
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]
- From Parameter: