The following table shows which shaders are called from which trace functions. Displacement, contour, and photon shaders are never called by any of the functions, and may not call any of them. Note that probe rays never call shaders.
function calls shader | lens | mtl | env | light | shad | vol |
---|---|---|---|---|---|---|
mi_trace_eye | ♦ | ♦ | ♦ | ◊ | ◊ | ♦ |
mi_trace_reflection | ◊ | ♦ | ♦ | ◊ | ◊ | ♦ |
mi_trace_refraction | ◊ | ♦ | ♦ | ◊ | ◊ | ♦ |
mi_trace_transparent | ◊ | ♦ | ♦ | ◊ | ◊ | ♦ |
mi_trace_environment | ◊ | ◊ | ♦ | ◊ | ◊ | ♦ |
mi_trace_light | ◊ | ◊ | ◊ | ♦ | ◊ | ♦ |
mi_sample_light | ◊ | ◊ | ◊ | ♦ | ◊ | ♦ |
mi_trace_shadow | ◊ | ◊ | ◊ | ◊ | ♦ | ◊ |
mi_trace_shadow_seg | ◊ | ◊ | ◊ | ◊ | ♦ | ♦ |
The following table shows which trace functions may be called from certain types of shaders:
function called from shader | lens | mtl | env | light | shad | ray vol | light vol |
---|---|---|---|---|---|---|---|
mi_trace_eye | ♦ | ◊ | ◊ | ◊ | ◊ | ◊ | ◊ |
mi_trace_reflection | ◊* | ♦ | ♦* | ◊* | ◊* | ♦ | ◊* |
mi_trace_refraction | ◊* | ♦ | ♦* | ◊* | ◊* | ♦ | ◊* |
mi_trace_transparent | ◊* | ♦ | ♦* | ◊* | ◊* | ♦ | ◊* |
mi_trace_environment | ♦* | ♦ | ♦ | ♦* | ♦ | ♦ | ♦ |
mi_trace_light | ♦* | ♦ | ♦* | ◊* | ◊* | ♦ | ◊* |
mi_sample_light | ♦* | ♦ | ♦* | ◊* | ◊* | ♦ | ◊* |
mi_trace_shadow | ◊ | ◊ | ◊ | ♦ | ◊ | ◊ | ♦ |
mi_trace_shadow_seg | ◊ | ◊ | ◊ | ◊ | ♦ | ◊ | ◊ |
state->cache
to NULL and generates an artificial
intersection point if none is present.
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.