Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any closure can be output to a special passthroughoutputvariable() function to be output as an AOV. "Pass through" nodes are familiar to Softimage users: they can be inserted anywhere in a Shade Tree to register the downstream subtree as an output variable.

...

Code Block
closure diffuse_aov = Kd * diffuse();
closure specular_aov = Ks * specular();
Ci  = passthroughoutputvariable("diffuse_aov", diffuse_aov) +
	passthroughoutputvariable("specular_aov", specular_aov);

...