Unity Products:Amplify Shader Editor/World Space Light Dir

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

World Space Light Dir Node

The World Space Light Dir node outputs a normalized light direction vector in world 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 world space position.


Nodes used: World Space Light Dir, World Normal, Dot

Output Port Description Type
XYZ Returns the light direction in world space coordinates. Float

Back to Node List