axisLight
light
axisLight
RayTK
v0.40
Light that emits from along an axis, similar to an infinitely long tube light.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Axis | Runtime | Semi-Baked | |
| |||
Position | Runtime | Baked | |
Rotate | Runtime | Baked | |
Intensity | Runtime | Baked | |
Color | Runtime | Baked | |
Attenuated | Runtime | Semi-Baked | |
Attenuation Start | Runtime | Baked | |
Attenuation End | Runtime | Baked | |
Enable Shadow | Runtime | Semi-Baked |
Inputs
-
Position Field
: (optional)- Coordinate Types:
vec3
- Context Types:
LightContext
- Return Types:
vec4
- Coordinate Types:
-
Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
LightContext
- Return Types:
float
vec4
- Supports Variables:
lightdir
- Supports Variables From Inputs:
positionField
- Coordinate Types:
-
Attenuation Field
: (optional)- Coordinate Types:
float
- Context Types:
LightContext
- Return Types:
float
vec4
- Supports Variables:
lightdir
- Supports Variables From Inputs:
positionField
colorField
- Coordinate Types:
Variables
-
lightdir
: