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

From Amplify Creations Wiki
Jump to: navigation, search
(Created page with "<span style="color:#c00;display:block;">This page is under construction!</span> <img style="float:left; margin-right:10px;" src="http://amplify.pt/Nodes/VertexToFragment.jpg"...")
 
Line 1: Line 1:
<span style="color:#c00;display:block;">This page is under construction!</span>
+
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
  
<img style="float:left; margin-right:10px;" src="http://amplify.pt/Nodes/VertexToFragment.jpg">
+
== Vertex To Fragment Node ==
[[Unity Products:Amplify Shader Editor/Vertex To Fragment |'''Vertex To Fragment''']]
 
  
Pass vertex data to the pixel shader
+
The Vertex To Fragment node allows data to be calculated on the vertex function and transferred to the surface/fragment via interpolators.
  
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List ]]
+
<img class="responsive-img" src="http://amplify.pt/NodeDetail/VertexToFragmentNode.gif">
 +
 
 +
<font size="1">Nodes used:
 +
[[Unity_Products:Amplify_Shader_Editor/Texture_Sample|Texture Sample]],
 +
[[Unity_Products:Amplify_Shader_Editor/World_Normal|Word Normal]],
 +
[[Unity_Products:Amplify_Shader_Editor/World_Space_Light_Dir|World Space Light Dir]],
 +
[[Unity_Products:Amplify_Shader_Editor/Dot|Dot]],
 +
[[Unity_Products:Amplify_Shader_Editor/Float|Float]],
 +
[[Unity_Products:Amplify_Shader_Editor/Power|Power]],
 +
[[Unity_Products:Amplify_Shader_Editor/Vertex_To_Fragment|Vertex To Fragment]],
 +
[[Unity_Products:Amplify_Shader_Editor/Light_Attenuation|Light Attenuation]],
 +
[[Unity_Products:Amplify_Shader_Editor/Light_Color|Light Color]],
 +
[[Unity_Products:Amplify_Shader_Editor/Multiply|Multiply]]
 +
</font>
 +
 
 +
{| class="wikitable" style="width: 100%;"
 +
|-
 +
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
 +
|-
 +
| id="paramVSIn" | (VS) In
 +
| Value to be transferred to surface/fragment function.
 +
| Float
 +
|}
 +
 
 +
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
[[Category:Nodes]][[Category:Miscellaneous]]
 
[[Category:Nodes]][[Category:Miscellaneous]]

Revision as of 16:30, 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: Texture Sample, 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

Back to Node List