WireframeShader

The WireframeShader node is used to apply a wireframe material to a prim.

To learn more about the workflow, see WireframeShader: Applying Wireframe Overlay.

Tip:  WireframeShader's classic 3D system equivalent is the Wireframe node.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The 2D image you’re using for the surface texture.

Control (UI)

Knob (Scripting)

Default Value

Function

WireFrameShader Tab

channels

channels

rgba

The material is only applied to these channels.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

operation

operation

opaque

Sets the wireframe render mode:

opaque - displays wires over a fully solid black geometry.

see through - displays wires over a full transparent geometry.

over - displays wires over the input shader.

multiply - displays wires multiplied by the input shader over a fully transparent geometry.

modulate - modulates the wires' color by a standard diffuse contribution and displays over the input shader. This mode is affected by any lights in the scene.

Face edges only face_edges off Display just the face edge wires rather than all triangle wires.

line width

line_width

0.5

Sets the width of the wireframe lines.

line color

line_color

1

Sets the color of the wireframe lines, multiplied by the alpha channel.