ringLight
light
ringLight
RayTK
v0.42
Light that emits from a torus or ring shape.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Intensity | Brightness that is applied to the | Runtime | Baked |
Color | Color of the light. | Runtime | Baked |
Axis | The axis which the ring faces. | Semi-Baked | Semi-Baked |
| |||
Position | Center position of the ring. | Runtime | Baked |
Radius | Radius of the ring. | Runtime | Baked |
Attenuated | Whether to limit the light range. | Runtime | Semi-Baked |
Attenuation Start | The distance at which the light starts to dim. | Runtime | Semi-Baked |
Attenuation End | The distance at which the light is fully dimmed. | Runtime | Semi-Baked |
Enable Shadow | Whether the light should produce shadows. | Runtime | Semi-Baked |
Inputs
-
Color Field
: (optional) Field controls the color of the light based on the position of surface hits where it is being applied. The resulting color is multiplied by the `Color` parameter and `Intensity`.- Coordinate Types:
vec3
- Context Types:
LightContext
- Return Types:
float
vec4
- Coordinate Types: