Unity Products:Amplify Shader Editor/Normalize: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify RnD Rick No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
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] |