Light
Light
Directional Light
Directional Light
Details
ID
light-light-directional-light
Name
Directional Light
Group
Light
Package
Light
Keywords
Input ports
| 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 | |
| Cast Shadow | Boolean | Enable or disable shadow casting |
Output ports
| Name | Type | Description |
|---|---|---|
| Light | Light | Result Light |
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