ShaderFX 3.0 Modulo & Lit Nodes

The Modulo node is a new node in ShaderFX 3.0 that returns the remainder of a division.

For example "7 mod 3" would return 1.0, because 3 fits twice in 7 and has left over: 1

7 - (3x2) = 1


The Lit node returns a lighting coefficient vector (ambient, diffuse, specular).