Difference between revisions of "Unity Products:Amplify Shader Editor/Vertex To Fragment"

From Amplify Creations Wiki
Jump to: navigation, search
Line 25: Line 25:
 
| id="paramVSIn" | (VS) In
 
| id="paramVSIn" | (VS) In
 
| Value to be transferred to surface/fragment function.  
 
| Value to be transferred to surface/fragment function.  
| Float
+
| Float <sup id="ref1">[[#anchor|[1]]]</sup>
 
|}
 
|}
 +
 +
----
 +
# <span id="anchor1">'''[[#ref1|^]]'''</span> Port automatically adapts to all connection types except Matrices and [[Unity Products:Amplify Shader Editor/Texture Object|Sampler]] types.
 +
  
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
[[Category:Nodes]][[Category:Miscellaneous]]
 
[[Category:Nodes]][[Category:Miscellaneous]]

Revision as of 16:55, 12 October 2017

Back to Node List

Vertex To Fragment Node

The Vertex To Fragment node allows data to be calculated on the vertex function and transferred to the surface/fragment via interpolators.

Nodes used: Word Normal, World Space Light Dir, Dot, Float, Power, Vertex To Fragment, Light Attenuation, Light Color, Multiply

Input Port Description Type
(VS) In Value to be transferred to surface/fragment function. Float [1]

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


Back to Node List