|
A shader mode governs the behavior of certain shader functions. By including a shader mode directive within the shader function definition, an applications developer can change the default behavior of a reflectance model shader that utilizes ray tracing. Two types of modal operation are supported; surface/solid mode and constrained/unconstrained mode. The choice of surface or solid mode affects how surface normal vectors are treated for double-sided surfaces. The constrained /unconstrained mode affects the treatment of normal vectors.
|