docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum AROcclusionShaderMode

    Specifies which global shader keyword should be enabled. It is used in the shader to select the type of occlusion.

    Namespace: UnityEngine.XR.ARFoundation
    Assembly: Unity.XR.ARFoundation.dll
    Syntax
    public enum AROcclusionShaderMode

    Fields

    Name Description
    HardOcclusion

    Enable a global shader keyword for hard occlusion.

    None

    Disable global shader keywords for both soft and hard occlusion.

    SoftOcclusion

    Enable a global shader keyword for soft occlusion.

    In This Article
    Back to top
    Copyright © 2025 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)