docs.unity.cn

Shader Graph 16.0.3

    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
    In This Article
    • Description
    • Ports
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023