Nodes > Functions > Lights > Light Direction

When used with a Loop (Lights) node, returns the world direction vector the current Light is facing.
Outputs
| Name | Type | Description |
|---|---|---|
| Direction ( Light to Surface ) | float | Direction vector the current light is facing |
Properties
| Name | Type | Description |
|---|---|---|
| Loop ID | dropdown | ID of the Loop (Lights) node this refers to |
| Mode | dropdown | Selects whether the direction points from light to surface, or from surface to light |
Was this page helpful?