Unity Products:Amplify Shader Editor/Blend Normals: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify Borba No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
Blend Normals Node
The Blend Normals node blends two normals using the Whiteout Blend method. Instead of just averaging both normal maps, they are calculated the following way:
BlendedNormal = normalize( float3( A.xy + B.xy, A.z*B.z ).
This way details, which would have been lost on an regular average, are better preserved.
Nodes used:
Float,
Texture Sample,
Blend Normals
Node Parameter | Description | Default Value |
---|---|---|
A | First normal to blend. Only visible if the respective input port is not connected. | 0,0,0 |
B | Second normal to blend. Only visible if the respective input port is not connected. | 0,0,0 |
Input Port | Description | Type |
---|---|---|
A | First normal to blend. | Vector3 |
B | Second normal to blend. | Vector3 |