The State nodes allow access to ray and geometric properties such as the surface normal, the UV surface parameters, ray depth etc. The nodes are separated into float, int and vector data types.

Float

Int

Vector

 

Example 1

Mapping color to the motion blur using Shutter Time

 

Example 2

Using surface v with a ramp float shader