docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Deriv From Normal Texture Grad

    Samples a Texture 2D tangent space normal map using a gradient and returns the texture space height Derivatives.

    Screenshot

    Ports

    Name Direction Type Binding Description
    Texture Input Texture 2D None Texture 2D tangent space normal map to sample
    Sampler Input Sampler State Default sampler state Sampler for the texture
    UV Input Vector 2 UV UV coordinates
    DDX UV Input Vector 2 None The UV derivatives for x
    DDY UV Input Vector 2 None The UV derivatives for y
    Deriv Output Vector 2 None Output texture space height derivatives
    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)