docs.unity3d.com
    Show / Hide Table of Contents

    Surfgrad From Normal

    Takes a normal and returns a Surface Gradient. Normal should be in world space or the same space as Base Normal if one is provided.

    Screenshot

    Ports

    Name Direction Type Binding Description
    Normal Input Vector 3 None Normal in the same space as Base Normal. Does not need to be normalized.
    Base Normal Input Vector 3 None Base normal
    Surfgrad Output Vector 3 None Output surface gradient
    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