docs.unity3d.com
    Show / Hide Table of Contents

    Surfgrad Mixer

    Combines up to four Surface Gradient inputs and returns the resulting Surface Gradient or world space normal. Each input has a blend mode, intensity, and opacity value. Multiple Surgrad Mixer subgraphs can be chained together.

    Screenshot

    Ports

    Name Direction Type Binding Description
    Surfgrad1 Input Vector 3 None Input surface gradient 1
    Surfgrad2 Input Vector 3 None Input surface gradient 2
    Surfgrad3 Input Vector 3 None Input surface gradient 3
    Surfgrad4 Input Vector 3 None Input surface gradient 4
    Intensity1 Input Float None Scale applied to Surfgrad1
    Intensity2 Input Float None Scale applied to Surfgrad2
    Intensity3 Input Float None Scale applied to Surfgrad3
    Intensity4 Input Float None Scale applied to Surfgrad4
    Opacity1 Input Float None Opacity of Surfgrad1
    Opacity2 Input Float None Opacity of Surfgrad2
    Opacity3 Input Float None Opacity of Surfgrad3
    Opacity4 Input Float None Opacity of Surfgrad4
    Base Normal Input Vector 3 None Base normal
    Surfgrad Output Vector 3 None Output surface gradient
    Normal Output Vector 3 None Resolved world space normal

    Controls

    Name Type Options Description
    Mode1 Dropdown Add, Subtract, Overwrite Blend mode for Surfgrad1
    Mode2 Dropdown Add, Subtract, Overwrite Blend mode for Surfgrad2
    Mode3 Dropdown Add, Subtract, Overwrite Blend mode for Surfgrad3
    Mode4 Dropdown Add, Subtract, Overwrite Blend mode for Surfgrad4
    Back to top
    Terms of use
    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