Unity Products:Amplify Shader Editor/Fog and Ambient Colors and Unity Products:Amplify Shader Editor/Fract: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
ampwiki>AmplifyWiki
(Created page with "This page is empty, contribute today! Back to Node List Category:NodesCategory:Fog and Ambient")
 
ampwiki>Amplify RnD Rick
No edit summary
 
Line 1: Line 1:
This page is empty, contribute today!
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
 
== Fract Node ==
The Fract Node outputs the fractional part of the value or of the individual components of vectors set on its [[#paramInput|Input]]. Internally what it does is something similar to '''Input - [[Unity_Products:Amplify_Shader_Editor/Floor|Floor]]( Input )''' which removes the integer part of the value leaving only the fractional one.
 
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/FractGraphicNode.png">
 
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/FractNode.gif">
<br/><font size="1">Nodes used:
[[Unity_Products:Amplify_Shader_Editor/World_Position|World Position]],  
[[Unity_Products:Amplify_Shader_Editor/Scale|Scale]],
[[Unity_Products:Amplify_Shader_Editor/Fract|Fract]]
</font>
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
|- style="background: #e5e5e5;" |
| id="paramInput" | Input
| Value to be used in the ''Fract'' calculation. Only visible if the respective input port is not connected.
| 0
|}
 
{| class="wikitable" style="width: 100%;"
|-
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
|-
| ''Input''
| Value to be used in the ''Fract'' calculation.
| 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:Fog and Ambient]]
[[Category:Nodes]][[Category:Math Operators]]

Revision as of 18:32, 6 November 2017

Back to Node List

Fract Node

The Fract Node outputs the fractional part of the value or of the individual components of vectors set on its Input. Internally what it does is something similar to Input - Floor( Input ) which removes the integer part of the value leaving only the fractional one.


Nodes used: World Position, Scale, Fract

Node Parameter Description Default Value
Input Value to be used in the Fract calculation. Only visible if the respective input port is not connected. 0
Input Port Description Type
Input Value to be used in the Fract calculation. Float [1]



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

Back to Node List