Unity Products:Amplify Shader Editor/Object Space Light Dir
Jump to navigation
Jump to search
Object Space Light Dir Node
The Object Space Light Dir node outputs a normalized light direction vector in object/local space coordinates.
For directional lights, the output result is the direction from the light itself. As for point lights the resulting outputted vector is the one formed between the light position and the game object local space position.
Output Port | Description | Type |
---|---|---|
XYZ | Returns the light direction in object space coordinates. | Float |