Working with ShaderFX Nodes

Creating nodes

To... Do this

Create a node.

Right-click in the work area of the ShaderFX editor and select Hw Shader Nodes from the right-click menu, then choose among the textures, lights, math nodes and so forth.

After you have created a node, you can connect it to your existing TraditionalGameSurfaceShader and Material nodes.

Create advanced mathematical and coding nodes.

-click in the work area of the ShaderFX editor and choose Toggle Advanced Mode.

Advanced Mode gives you additional nodes, such as Bool AND, If Else, and so forth.

Connecting nodes

To... Do this

Connect nodes.

Drag to create connection lines between output and input attributes.

The results of your shading graph automatically update in the ShaderFX editor and in viewports.

Selecting nodes

To... Do this

Select a node and its upstream nodes.

+ + click.

Remove a node from the selection.

+ click.

Add a node to the selection.

+ click.

Deleting nodes

To... Do this

Delete a node.

Select the node and press .

Note:

You cannot delete the Material node and TraditionalGameSurfaceShader nodes (created by default) unless you have toggled on Toggle Advanced Mode.

If you delete these nodes, your shader does not render in the scene view and you must create and connect a new material or surface shader to your node network before you can do so.

Overwriting nodes

By default, you cannot overwrite nodes that are provided with 3ds Max.

To do so, you must choose Settings Overwrite System Nodes.
Note: Overriding system nodes provided by 3ds Max is not recommended.

Adjusting the properties of nodes

You can adjust the attributes of your graph nodes on the Properties panel to the right of the shader graph work area. If the Properties panel is not displayed, choose Settings Show Property Panel from the ShaderFX menu bar.

Important: Strings that you enter in the ShaderFX editor, such as node names and group names, must contain only ASCII characters. Unicode characters are not supported.

Saving preview swatches to textures

Select a node, then -click and choose Tools Save Selected Swatches To Files to bake your preview swatch to a 2K x 2K texture. A tooltip appears in the ShaderFX editor, showing the location to which your swatches are saved. You can also select multiple nodes at the same time and save their swatches simultaneously.