Versions Compared

Key

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

...

The DlShadingNode attributes.

Choosing an OSL Shader

Clicking on the down arrow next to nodeType will display a list of available OSL shaders. Selecting one shader in the list will populate the parameters section below with the shader attributes.

Connecting the DlShadingNode

An example of the list of input ports on a DlShadingNode set to use the material3Delight shader.

...

For an example on how to define a shading network using DlShadingNodes, see Adding Materials to a Recipe.

Connecting a DlShadingNode to a NetworkMaterial node

The end result of a shading network made of various DlShadingNodes must be connected to a NetworkMaterial node so it defines a material scenegraph location and can be assigned to objects. The DlShadingNode that will be connected to a NetworkMaterial node must use a shader of a specific type - surface or displacement shaders - and can then be connected to the related terminal on the Network Material.

To add the required terminal, click on Add Terminal in the NetworkMaterial Parameters.


Image Added

Adding a Surface terminal to a NetworkMaterial Node