Unity Products:Amplify Shader Editor/Simplified Fmod

From Amplify Creations Wiki
Jump to navigation Jump to search

Back to Node List

Simplified Fmod Node

The Simplified Fmod node outputs the remainder of the division A/B. This node is more performant than the Fmod node but it does not guarantee the sign of the final generated value.


Nodes used: Float, Simplified Fmod, Add, Texture Sample

Node Parameter Description Default Value
A Dividend of the division operation.

Only visible if the respective input port is not connected.

0
B Divisor of the division operation. Only visible if the respective input port is not connected. 0


Input Port Description Type
A Dividend of the division operation. Float [1]
B Divisor of the division operation. Float [1]

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

Back to Node List