Versions Compared

Key

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

...

This procedure illustrates how to create a shading network composed of some 3Delight shaders. The shading network is composed of some DlSahdingNodes, and one NetworkMaterial node. The Network Material can be assigned via a materialAssign node.

The task of creating a shading network is much simplified by using the shading node layered menu.

Section


Column
width22%



Column
width830px


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Create a DlShadingNode checker shading node.

Image Removed


Image Added

  • In the Nodegraph, press S to display the shading node layered menu. Begin Press tab and begin to type "dlshadingnodechecker".
  • Pick DlShadingNode checker to create the node. Since checker is a 2D Texture node, a place2dTexture node is automatically created and connected to it.
  • Click on the faint square to the right of the node name label (or press E) to edit the node's parameters in the Parameters panel.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Select the place2dTexture shader.


Click the down arrow to the left of nodeType to display the list of available shaders, and select place2dTexture. The parameters section will then be filled with the place2dTexture shader parameters.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Configure the place2dTexture shader.


Set the RepeatU and RepeatV parameters to 8, and rename the node to something more evocative, like "place2dTexture".


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Create a checker DlShadingNode.


Using the previous steps as a general guide, create another DlShadingNode. Rename it "checker", and set its nodeType to checker.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Connect the place2dTexture node to the checker node.


  • Click on the arrow to the right of the place2dTexture node to select an output port to connect.
  • Select outUV from the output port list.
  • Click the arrow to the left of the checker node to select the input port to connect.
  • Select UV Coordinates.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Create and connect a material3Delight DlShadingNode.


Using the previous steps as a general guide, add a surface shader to the shading network with the following steps:

  • Create a new DlShadingNode; name it material3Delight and set its nodeType to material3Delight.
  • Connect the checker's outColor output port to the material3Delight's colour input port.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Create and configure a NetworkMaterial node.


Using the previous steps as a general guide, add a NetworkMaterial node and prepare it to receive a connection from a DlShadingNode:

  • Create a NetworkMaterial node and display it in the Parameters panel;
  • Click Add Terminal and select Surface under dl.

This adds an input port suitable to receive a connections from a 3Delight surface material to the Network Material node.


Panel
borderColor#e0e0e0
bgColor#f0f0f0

Connect the surface shader to the Network Material node.


  • Click on the arrow to the right of material3Delight to display its output ports, and pick outColor.
  • Click on the dlSurface input port of the Network Material node to establish the connection.

The NetworkMaterial can be assigned using a materialAssign Katana node.



Column
width22%



...