On this page

The remaining fraction after dividing an incoming float/color/vector by a value and subtracting the integer portion. Modulo always returns a non-negative result, matching the interpretation of the GLSL and OSL mod() function (not fmod()).

Parameters

in1

The value or nodename for the primary input

in2

The modulo value or nodename to divide by, cannot be 0 in any channel; default is 1.0 in all channels

Outputs

out

float

VOP nodes