docs.unity3d.com
Search Results for

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)