Unity Products:Amplify Shader Editor/Fract

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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