Input Nodes | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Input Nodes

    Basic

    Boolean Color
    Image
    Defines a constant Boolean value in the shader. Defines a constant Vector 4 value in the shader using a Color field.
    Constant Integer
    Image Image
    Defines a Vector 1 of a mathematical constant value in the shader. Defines a constant Vector 1 value in the shader using an Integer field.
    Slider Time
    Image Image
    Defines a constant Vector 1 value in the shader using a Slider field. Provides access to various Time parameters in the shader.
    Vector 1 Vector 2
    Image Image
    Defines a Vector 1 value in the shader. Defines a Vector 2 value in the shader.
    Vector 3 Vector 4
    Image Image
    Defines a Vector 3 value in the shader. Defines a Vector 4 value in the shader.

    Geometry

    Bitangent Vector Normal Vector
    Image
    Provides access to the mesh vertex or fragment's Bitangent Vector. Provides access to the mesh vertex or fragment's Normal Vector.
    Position Screen Position
    Image Image
    Provides access to the mesh vertex or fragment's Position. Provides access to the mesh vertex or fragment's Screen Position.
    Tangent Vector UV
    Image Image
    Provides access to the mesh vertex or fragment's Tangent Vector. Provides access to the mesh vertex or fragment's UV coordinates.
    Vertex Color View Direction
    Image Image
    Provides access to the mesh vertex or fragment's Vertex Color value. Provides access to the mesh vertex or fragment's View Direction vector.

    Gradient

    Gradient Sample Gradient
    Image
    Defines a constant Gradient in the shader. Samples a Gradient given the input of Time.

    Matrix

    Matrix 2x2 Matrix 3x3
    Image
    Defines a constant Matrix 2x2 value in the shader. Defines a constant Matrix 3x3 value in the shader.
    Matrix 4x4 Transformation Matrix
    Image Image
    Defines a constant Matrix 4x4 value in the shader. Defines a constant Matrix 4x4 value for a default Unity Transformation Matrix in the shader.

    PBR

    Dielectric Specular Metal Reflectance
    Image
    Returns a Dielectric Specular F0 value for a physically based material. Returns a Metal Reflectance value for a physically based material.

    Scene

    Ambient Camera
    Image
    Provides access to the Scene's Ambient color values. Provides access to various parameters of the current Camera.
    Fog Light Probe
    Image Image
    Provides access to the Scene's Fog parameters. Provides access to the Light Probe parameters at the object's position.
    Object Reflection Probe
    Image Image
    Provides access to various parameters of the Object. Provides access to the nearest Reflection Probe to the object.
    Scene Color Scene Depth
    Image Image
    Provides access to the current Camera's color buffer. Provides access to the current Camera's depth buffer.
    Screen
    Image
    Provides access to parameters of the screen.

    Texture

    Cubemap Asset Sample Cubemap
    Image
    Defines a constant Cubemap Asset for use in the shader. Samples a Cubemap and returns a Vector 4 color value for use in the shader.
    Sample Texture 2D Sample Texture 2D Array
    Image Image
    Samples a Texture 2D and returns a color value for use in the shader. Samples a Texture 2D Array at an Index and returns a color value for use in the shader.
    Sample Texture 2D LOD Sample Texture 3D
    Image Image
    Samples a Texture 2D at a specific LOD and returns a color value for use in the shader. Samples a Texture 3D and returns a color value for use in the shader.
    Sampler State Texel Size
    Image Image
    Defines a Sampler State for sampling textures. Returns the Width and Height of the texel size of Texture 2D input.
    Texture 2D Array Asset Texture 2D Asset
    Image Image
    Defines a constant Texture 2D Array Asset for use in the shader. Defines a constant Texture 2D Asset for use in the shader.
    Texture 3D Asset
    Image
    Defines a constant Texture 3D Asset for use in the shader.
    In This Article
    • Basic
    • Geometry
    • Gradient
    • Matrix
    • PBR
    • Scene
    • Texture
    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