Houdini 11 VEX VEX functions

Returns the depth of the ray tree for computing global illumination.

  1. int getglobalraylevel()

Returns the depth of the ray tree for computing global illumination. If this function returns a non-zero value, the shader is being called for the purpose of evaluating global illumination.

Contexts: displace, fog, light, photon, shadow, surface