Directional Light
ID
light-light-directional-light
Name
Directional Light
Group
Light
Package
Light
Keywords
After creating the node, connect the light color to the first port, intensity to the second port, position to the third port, target to the fourth port, and shadow toggle to the fifth port. On the output port, you will receive the resulting directional light object.
Ambient Light
Point Light
Spot Light
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
color | Color | Color | #ffffff |
intensity | Number | Intensity | 1 |
position | Point | Position of the light | |
target | Point | Target point the light is aimed at | |
castShadow | Boolean | Enable or disable shadow casting |
Outputs
Name | Type | Description |
---|---|---|
light | Light | Result Light |