docs.unity3d.com
    Show / Hide Table of Contents

    Planar Color

    Planar projects a Texture 2D on the selected axis and returns a color.

    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
    Tile Rate Input Float None Tile rate of input texture
    Falloff Input Float None Angular falloff of the projection
    Base Normal Input Vector 3 None Base normal
    Base Position Input Vector 3 None Base position (predisplacement)
    Hex Tiling Input Boolean None Enable hex tiling
    Hex Rotation Input Float None Amount of hex rotation if enabled
    Out Output Vector 4 None Output color
    Planar_Weight Output Float None Resulting mask of projection
    Hex_Weights Output Vector 3 None Resulting weights from hex tiling

    Controls

    Name Type Options Description
    Space Dropdown World, Object Space the projection is performed in
    Axis Dropdown X, Y, Z Axis of projection
    Side Dropdown Both, Positive, Negative Only the selected side of the axis will be projected
    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