docs.unity3d.com
Search Results for

    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
    In This Article
    Back to top
    Copyright © 2023 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)