Unity Products:Amplify Shader Editor/Normalize
Jump to navigation
Jump to search
Normalize Node
The Normalize node ( shortcut: N key ) calculates a normalized vector of the one specified at its Input which has the same direction but a norm/length of 1. In other words it outputs Input/Length( Input ).
Nodes used:
World Space Light Dir,
View Dir,
Add,
Normalize
Node Parameter | Description | Default Value |
---|---|---|
Input | Vector to be normalized. Only visible if the respective input port is not connected. | 0 |
Safe Normalize | Division by 0 is prevented over the normalize operation at the expense of additional instructions on shader. | False |
Input Port | Description | Type |
---|---|---|
Input | Vector to be normalized. | Float4 [1] |