Unity Products:Amplify Shader Editor/HeightMap Texture Blend and Unity Products:Amplify Shader Editor/Hotkeys: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
ampwiki>Amplify RnD Rick
No edit summary
 
ampwiki>AmplifyWiki
No edit summary
 
Line 1: Line 1:
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
'''Press [ P ] to toggle node previews'''


== HeightMap Texture Blend Node ==
https://media.giphy.com/media/26BGNJLpUx1imDlgA/source.gif
----


The HeightMap Texture Blend node outputs a blend value on a [0 1] range using the following operation [[Unity_Products:Amplify_Shader_Editor/Saturate|Saturate]]( [[Unity_Products:Amplify_Shader_Editor/Power|Power]]( ( ( [[#paramHeightMap|HeightMap]]* [[#paramSplatMask|SplatMask]])*4 ) + ( [[#paramSplatMask|SplatMask]]* 2 ), [[#paramBlendStrength|BlendStrength]]) ).
'''Hold [ D ] to view your node networks using the debug mode, Double Press [ D ] to toggle it.'''
<br/>'''NOTE:''' This value is useful when texture layering.


<img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/Height_2.jpg">
http://wiki.amplify.pt/images/wp-content/uploads/2017/02/DebugMode.jpg
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
|- style="background: #e5e5e5;" |
| id="paramHeightMap" | HeightMap
| Height map value. Only visible if the respective input port is not connected
| 0
|- style="background: #e5e5e5;" |
| id="paramSplatMask" | SplatMask
| Splat mask value. Only visible if the respective input port is not connected
| 0
|- style="background: #e5e5e5;" |
|id="paramBlendStrength" | BlendStrength
| Blend strength value. Only visible if the respective input port is not connected.
| 1
|-
|id="paramPreventNaN" | Prevent NaN
| Clamps negative base numbers over the internal pow instruction to 0 since these originate NaN."
| False
|}
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
|-
| HeightMap
| Height map value.
| Float
|-
| Splatmask
| Splat mask value.
| Float
|-
| BlendStrength
| Blend strength value.
| Float
|}
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Category:Nodes]][[Category:Logical Operators]]

Revision as of 16:22, 27 February 2017

Press [ P ] to toggle node previews

source.gif


Hold [ D ] to view your node networks using the debug mode, Double Press [ D ] to toggle it.

DebugMode.jpg