Working with multiple cameras | Universal RP | 10.2.2
docs.unity3d.com
    Show / Hide Table of Contents

    Working with multiple cameras

    In the Universal Render Pipeline (URP), you can work with multiple Cameras to:

    • Stack Cameras to layer the outputs of multiple Cameras into a single combined output. Camera Stacking allows you to create effects such as 3D models in a 2D UI, or the cockpit of a vehicle.
    • Render multiple Base Cameras or Camera Stacks to the same render target. This allows you to create effects such as split screen rendering.
    • Render a Base Camera or Camera Stack to a Render Texture. Rendering to a Render Texture allows you to create effects such as CCTV monitors.

    Camera Stacking in URP

    You can combine these ways of working for more complex effects. For example, you can define two Camera Stacks, and then set each of those to Camera Stacks that render to a different area of the same render target.

    For information on Camera rendering order when working with multiple Cameras, see Rendering order and overdraw.

    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