SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
2.1 KiB

4 years ago
  1. # Configuring the AR Camera background using a Scriptable Render Pipeline
  2. AR Foundation supports the Universal Render Pipeline (URP) versions 7.0.0 or later. See the [URP Install and Configure documentation](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest?subfolder=/manual/InstallingAndConfiguringURP.html) for more details on switching to URP.
  3. **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.
  4. ## Basic URP configuration for AR Foundation
  5. To configure URP for use with AR Foundation, follow these steps:
  6. 1. In the Project's `Assets` folder, create a new folder named `Rendering`.
  7. ![`Rendering` folder in the Project's `Assets` folder](images/srp/rendering-folder.png "Rendering Folder")
  8. 2. In the `Rendering` folder, create a Pipeline Asset (Forward Renderer) for URP:
  9. Right-click anywhere in the folder and select **Create > Rendering > Universal Render Pipeline > Pipeline Asset (Forward Renderer)**.
  10. This creates two Assets:
  11. * An [UniversalRenderPipelineAsset](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest?subfolder=/api/UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset.html)
  12. * A [ForwardRenderer](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest?subfolder=/api/UnityEngine.Rendering.Universal.ForwardRenderer.html)
  13. ![Creating a Pipeline Asset](images/srp/create-pipeline-asset.png "Create Pipeline Asset")
  14. 3. Select the `Forward Renderer`. In its Inspector, add an `ARBackgroundRendererFeature` to the list of Renderer Features.
  15. ![Adding an `ARBackgroundRendererFeature`](images/srp/add-renderer-feature.png "Adding an ARBackgroundRendererFeature")
  16. 4. Access the Graphics section of the Project Settings window (menu: **Edit > Project Settings**, then select **Graphics**), and select the `UniversalRenderPipelineAsset` for the **Scriptable Render Pipeline Settings** field.
  17. ![Setting the Pipeline Asset](images/srp/set-pipeline-asset.png "Set Pipeline Asset")