docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Port

    Description

    A Port defines an input or output on a Node. Connecting Wires to a Port allows data to flow through the Shader Graph node network.

    Each Port has a Data Type which defines what wires can be connected to it. Each data type has an associated color for identifying its type.

    Only one wire can be connected to any input Port but multiple wires can be connected to an output Port.

    You can open a contextual Create Node Menu by dragging a wire from a Port with left mouse button and releasing it in an empty area of the workspace.

    Default Inputs

    Each Input Port, a Port on the left side of a node implying that it is for inputting data into the node, has a Default Input. This appears as a small field connected to the Port when there is no wire connected. This field will display an input for the ports data type unless the Port has a Port Binding. If a Port does have a port binding the default input field might display a special field, such as a dropdown for selecting UV channels, or just a label to help you understand the intended input, such as coordinate space labels for geometry data.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)