Configuring AR Camera Background with a Scriptable Render Pipeline | AR Foundation | 3.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Configuring AR Camera Background with a Scriptable Render Pipeline

    AR Foundation supports the Universal Render Pipeline (URP) versions 7.0.0 or later.

    Note: Projects made using URP are not compatible with the High Definition Render Pipeline or the built-in Unity rendering pipeline. Before you start development, you must decide which render pipeline to use in your Project.

    See the URP Install and Configure documentation for more details on switching to URP.

    Basic Configuration for SRP with AR Foundation

    1. In the project's Assets folder, create a new folder named "Rendering".

      Rendering folder in Assets

    2. In the Assets > Rendering folder, create a Pipeline Asset (Forward Renderer) for your SRP.

      • Choose Create > Rendering > Universal Render Pipeline > Pipeline Asset (Forward Renderer).
      • Note that this will create two assets: an UniversalRenderPipelineAsset and a ForwardRenderer.

      Create Pipeline Asset

    3. In the Inspector with the ForwardRenderer selected, add an ARBackgroundRendererFeature to the list of Renderer Features.

      Add an ARBackgroundRendererFeature

    4. In Project Settings > Graphics, select the UniversalRenderPipelineAsset for the Scriptable Render Pipeline Settings field.

      Set Pipeline Asset

    Back to top
    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