Skip to main content

Render Pipelines

Built-In

No additional setup is required.

URP

You need to add a Renderer Feature called CommandBufferFeature.

In the UniversalRendererData inspector, click Add Renderer Feature and add CommandBufferFeature.
The image below shows the 3D URP in Unity 6:
universal-renderer-data

If you're using 2D URP, open the Renderer2DData inspector, click Add Renderer Feature, and add CommandBufferFeature.
The image below shows the 2D URP in Unity 2022.3:
Renderer2DData

HDRP

  1. Add a CustomPassVolume component to any GameObject in your scene.

  2. In the CustomPassVolume settings, set the Injection Point to After Post Process.

  3. In the Custom Passes list, add a CommandBufferPass and configure it with the following settings:

    • Target Color Buffer: Camera
    • Target Depth Buffer: Camera
    • Clear Flags: None

cusstom-passes