Unity Products:Amplify Shader Editor/Normalize

From Amplify Creations Wiki
Jump to navigation Jump to search

Back to Node List

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]

  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List