docs.unity3d.com
    Show / Hide Table of Contents

    Visual Compositor Nodes

    • Add
    • Bandpass Filter
    • Blend
    • Color Channel
    • Comment
    • Difference
    • Directional Mask
    • Drawn Edges
    • Easy Color Adjustment
    • GameObject
    • Group
    • HSV
    • Invert
    • Layer
    • Level Adjustment
    • Linear Gradient
    • Multipass Gaussian Blur
    • Multiply
    • Preview
    • Render
    • Render Texture
    • Selection Group
    • Selection Group Color Render
    • Selection Group Difference
    • Selection Group Intersection
    • Selection Group Union
    • Shadow Render
    • Spherical Gradient
    • Streaming Image Sequence
    • Subtraction
    • Texture2D
    • Toon ClipMask Render
    • Transform

    Add

    AddNode

    Brightens the first input with the second input.
    Equation: A + B

    Bandpass Filter

    BandpassFilterNode

    Outputs a mask based on the red color of the input image between Low and High slider values.

    Blend

    BlendNode

    Blends two input images based on node parameters and a blend mode.

    Color Channel

    ColorChannelNode

    Outputs the selected color channel from the input.

    Parameters Description
    Color channel The color channel to show.
    Black And White Shows the chosen color channel as black and white.
    Force Alpha To One Force the alpha values of all pixels to one.

    Comment

    CommentNode

    Adds a text label into the graph, which is used for documentation.

    Difference

    DifferenceNode

    Returns the difference of input textures.
    Equation: | A - B |

    Directional Mask

    DirectionalMaskNode

    This node takes a normal map as input, and produces a mask based on those normals and the X / Y slider values.

    Drawn Edges

    DrawnEdgesNode

    Draws edges based on color, normals, and depth.

    Easy Color Adjustment

    EasyColorAdjustmentNode

    Performs simple color adjustment on the input by applying an amount of saturation, contrast and sharpening.

    GameObject

    GameObjectNode

    Outputs the selected GameObject.

    Group

    GroupNode

    Groups nodes together with a title and a background color for organising the graph.

    HSV

    HSVNode

    Simultaneously adjusts the hue, saturation, and brightness of the image.

    Invert

    InvertNode

    Invert the color of the input image.

    Layer

    LayerNode

    Blends the input image with the previous layer. This node must be put inside the layer stack.

    Level Adjustment

    LevelAdjustmentsNode

    Adjusts the contrast and the overall gamma of the input image.

    Linear Gradient

    LinearGradientNode

    Generates a linear gradient image.

    Multipass Gaussian Blur

    MultipassGaussianBlurNode

    Blurs the input image.
    Note that the performance gets heavier with more passes.

    Multiply

    MultiplyNode

    Multiplies the color values of the two input textures.
    This is similar to using a Blend node with "multiply" selected as the blend mode.

    Preview

    PreviewNode

    Previews the graph output at a certain stage in the graph.
    This node can also save the intermediary output to a render texture.

    Render

    RenderingNode

    Renders a group of objects and lights with a specified camera into the output port (color).
    By default, all objects are rendered using all lights in the scene.

    Depending on the used render pipeline, this node can also provide additional output types when the corresponding ports are connected to other nodes. The following table describes the support and cost of each additional output type in each render pipeline.

    Built-In HDRP URP
    Matte ✔️ with an extra blit op ✔️ with an extra blit op ✔️ with an extra blit op.
    Not supported when the camera background is using skybox
    Depth ✔️ ✔️ ❌
    Normals ✔️ with an extra full render ✔️ ❌
    UVs ✔️ with an extra full render ❌ ❌

    Render Texture

    RenderTextureNode

    This node outputs the contents of a render texture.
    If the render texture is dependent on another node in the graph, the dependency port can be used to make sure this node is processed after the dependee.

    Selection Group

    SelectionGroupNodes

    This node outputs all the GameObjects in a Selection Group.

    There are also other nodes for operating with Selection Groups:

    1. Selection Group Difference
    2. Selection Group Intersection
    3. Selection Group Union

    Selection Group Color Render

    SelectionGroupColorRenderNode

    This node renders objects with the following colors:

    1. The Selection Group color for rendering objects assigned in that group.
    2. The Default Color for rendering objects not assigned in any group.

    Selection Group Difference

    SelectionGroupDifferenceNode

    Receives two selection groups as inputs, then outputs the members of group A that are not in group B.

    Selection Group Intersection

    SelectionGroupIntersectionNode

    Receives two selection groups as inputs, then outputs the group members which are common to both groups.

    Selection Group Union

    SelectionGroupUnionNode

    Combines all objects from two selection groups into one collection.

    Shadow Render

    ShadowRenderingNode

    Outputs the screenspace shadow map generated by Unity internally, based on:

    1. the LightShadow settings of lights included in the input port
    2. the shadow quality settings.

    Currently, this node only works for the built-in render pipeline.

    Spherical Gradient

    SphericalGradientNode

    Generates a spherical gradient image which can be blended into the final image using layer controls.

    Streaming Image Sequence

    StreamingImageSequenceNode

    Retrieves the current active frame of Streaming Image Sequence.

    Subtraction

    SubtractionNode

    Decreases the brightness of the first input based on the second input.
    Equation: A - B

    Texture2D

    Texture2DNode

    Allows a simple 2D texture to be inserted and used in the graph.

    Toon ClipMask Render

    ToonClipMaskRenderNode

    Working together with Unity Toon Shader, this node outputs color layers and mask layers of the final toon output into multiple render textures which are assigned to the node.
    Currently, this node only works for HDRP.

    This node is disabled by default in Edit Mode, because a separate render of the same set of objects is needed for each render texture, which can cause very slow performance.

    To enable it in Edit Mode, check the Preview in Editor checkbox.

    Transform

    TransformNode

    This node applies 2D transforms to the input image, allowing for scrolling and zooming effect.

    Parameters Description
    Size The target resolution size.
    Tex Wrap Mode Similar to TextureWrapMode, with additional Border option.
    Border: makes the texture edge pixels use the specified background color when outside of of 0..1 range.
    Background Color The background color outside texture edge pixels.
    Only used when Tex Wrap Mode is set to Border.
    Resize Mode The texture resize mode when the target resolution size is different from the input resolution size.
    Uniform Scale Apply uniform scale (force y-scale to equal x-scale).
    Scale The scale.
    Rotation The rotation in degrees.
    Rotation Center The center point of the rotation in pixels.
    (0,0) is the center of the texture.
    Offset The translation.

    The order of the 2D transformation is Scale * Rotation * Translation.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023