# Does UE5 support multiple active cameras to render different depth buffers separately?

**URL:** <https://forums.unrealengine.com/t/does-ue5-support-multiple-active-cameras-to-render-different-depth-buffers-separately/1321522>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, Rendering, question\
**Created:** [October 3, 2023, 8:01pm UTC](https://forums.unrealengine.com/t/does-ue5-support-multiple-active-cameras-to-render-different-depth-buffers-separately/1321522 "2023-10-03T20:01:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nayayayay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nayayayay](https://forums.unrealengine.com/u/Nayayayay)\
**Post date:** [October 3, 2023, 8:01pm UTC](https://forums.unrealengine.com/t/does-ue5-support-multiple-active-cameras-to-render-different-depth-buffers-separately/1321522/1 "2023-10-03T20:01:54Z")

</div>

Unity3D allows you to easily render multiple cameras to the screen, so that you can have separate cameras doing different things (rendering the skybox, rendering the player model, etc).

Does UE5 allow this?

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [October 3, 2023, 8:20pm UTC](https://forums.unrealengine.com/t/does-ue5-support-multiple-active-cameras-to-render-different-depth-buffers-separately/1321522/2 "2023-10-03T20:20:40Z")

</div>

Yes.

Exactly how you do it depends. For example, for couch co-op, there’s built-in split-screen support.  
For “security camera” use cases, there’s render target support as textures, where you then map the texture to the TV screen object. (This also works for mini-maps too, map a top-down camera to a UI widget texture)  
For custom depth/stencil (so you can paint outlines of objects and so on) there’s a separate render pass and pre-defined “custom depth stencil” buffer feature you can use.

Finally, if you want to build something like a 3D editor with the classic four viewports, you can set up multiple viewports with multiple cameras, just like how the split screen support does it, but without tying each of the cameras to a separate player controller. I haven’t seen this done in Blueprint, but it’s certainly doable in C++.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 2, 2023, 8:20pm UTC](https://forums.unrealengine.com/t/does-ue5-support-multiple-active-cameras-to-render-different-depth-buffers-separately/1321522/3 "2023-11-02T20:20:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
