Skip to content

getglobalraylevel

Context(s)displace fog light shadow surface

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.