Difference between revisions of "Unity Products:Amplify Shader Editor/Vertex Normal"
|Line 14:||Line 14:|
| Returns the interpolated vertex normal in object space
Revision as of 13:05, 25 October 2017
Per vertex interpolation of the vertices normal vector in object space. This data is extracted directly from the mesh and contains the vertex normal relative to the object origin, this means the normal vector values don't change whatever transform value your gameobject has. This is usually useful to use in the Local Vertex Normal output or to create effects that are bound to the object and stay exactly the same even if your gameobject changes position, rotation or size.
NOTE: Do not confuse with World Normal node.
|XYZ||Returns the interpolated vertex normal in object space||Float3(4)|
|X||Returns only the X component of the vertex normal||Float|
|Y||Returns only the Y component of the vertex normal||Float|
|Z||Returns only the Z component of the vertex normal||Float|