docs.unity3d.com
    Show / Hide Table of Contents

    Is Front Face Node

    Description

    Returns true if currently rendering a front face and false if rendering a back face. This value is always true unless the Master Node's Two Sided value is set to true in the Material Options. This is useful for Branching.

    NOTE: This Node can only be used in the Fragment Shader Stage.

    Ports

    Name Direction Type Binding Description
    Out Output Boolean None Output value
    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