docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Deriv From Height Texture

    Samples a Texture 2D height map and returns the texture space height Derivatives.

    Screenshot

    Ports

    Name Direction Type Binding Description
    Texture Input Texture 2D None Texture 2D height map to sample
    Sampler Input Sampler State Default sampler state Sampler for the texture
    UV Input Vector 2 UV UV coordinates
    Height Scale Input Float None Scale applied to height values
    Deriv Output Vector 2 None Output texture space height derivatives
    Normal Output Vector 3 None Output tangent space normal

    Controls

    Name Type Options Description
    Height Quality Dropdown High, Medium, Low Selects the technique used to interpret height textures
    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)