You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Overview

There are two ways to specify 3Delight materials in your recipe: using Katana's Material node, and using Katana's Network Material node. The main difference between both is that you may define a whole shading network based on a Network Material, while a Material node may only specify a sole shader.

Using the Material Node


Create a Material node.


  • Press tab and begin to type "material".
  • Pick Material to create a Material node.
  • Click the faint gray square to the right of the new node's label (or press E) to edit its parameters in the Parameters panel.

Add a 3Delight shader to the material node.


In the Parameters panel, click Add Shader and select the type of shader you want to create under dl. In this example, a surface shader is created.

Select a 3Delight shader.


Click the down arrow to the right of the dlSurfaceShader label to display a list of available surface shaders. Select the desired shader from the list.

The shader parameters are now accessible.


Unfold the parameters by clicking the arrow to the left of the dlSurfaceShader label to reveal the shader parameters.



Using the Network Material Node


Create a DlShadingNode.


  • Press tab and begin to type "dlshadingnode".
  • Pick DlShadingNode to create the node.
  • 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.

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.

Configure the place2dTexture shader.


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

Create a checker DlShadingNode.


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

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.

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.

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.

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.



In order to connect 3Delight shaders to a Network Material node, it must have the proper ports. Adding ports is done by clicking on Add Terminal, then choosing the desired shader type under the dl section in the option menu. The Network Material can now receive an incoming connection from a DlShading Node of the appropriate type.

  • No labels