docs.unity3d.com
    Show / Hide Table of Contents

    Color Hex From Texture LOD

    Samples a Texture 2D with a specified texture LOD level and returns a color with hex tile sampling.

    Screenshot

    Ports

    Name Direction Type Binding Description
    Texture Input Texture 2D None Texture 2D to sample
    Sampler Input Sampler State Default sampler state Sampler for the texture
    UV Input Vector 2 UV UV coordinates
    LOD Input Float None LOD level of texture to sample
    Hex Rotation Input Float None Amount of hex rotation
    Out Output Vector 4 None Output color
    Hex_Weights Output Vector 3 None Resulting weights from hex tiling
    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