# How to completely disable all cameras?

**URL:** <https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568>\
**Category:** Rendering\
**Tags:** disable-rendering, unreal-engine, Rendering, CPP, question\
**Created:** [February 17, 2018, 9:43am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568 "2018-02-17T09:43:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_24cff47d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_24cff47d](https://forums.unrealengine.com/u/anonymous_user_24cff47d)\
**Post date:** [February 17, 2018, 9:43am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/1 "2018-02-17T09:43:37Z")

</div>

We would like to only render through SceneCapture2D. We want to disable all cameras so there is no other rendering overhead. This might seem weird but the purpose is to capture screen shots via SceneCapture2D. The player screen can stay completely blank and we don’t care. Hope is that this will save significant rendering time.

I tried deactivating ACameraActor but that keeps camea alive anyway. So I tried setting PlayerController::SetViewTarget(nullptr) but then it finds another camera to activate. I basically want absolutely no camera to be active in the scene.

Is this possible?

---

<div class="post-metadata">

**Author:** ![c4tnt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c4tnt](https://forums.unrealengine.com/u/c4tnt)\
**Post date:** [February 17, 2018, 1:16pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/2 "2018-02-17T13:16:53Z")

</div>

You can set bDisableWorldRendering on your ViewportClient object to false - it disables regular render path completely. ViewportClient can be extracted from ULocalPlayer:

```
if (ULocalPlayer* ClientPlayer = ...get player somewhere...)
{
    // Update player viewport state 
    if (UGameViewportClient* ViewportClient = ClientPlayer->ViewportClient)
    {
        ViewportClient->bDisableWorldRendering = !ShouldViewportRenderWorld();
    }
}
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_24cff47d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_24cff47d](https://forums.unrealengine.com/u/anonymous_user_24cff47d)\
**Post date:** [February 21, 2018, 10:34am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/3 "2018-02-21T10:34:40Z")

</div>

I tried this out. Unfortunately bDisableWorldRendering also disables rendering for SceneCapture2D. My goal is to disable rendering for CameraComponent while keeping rendering for SceneCapture2D alive. In other words, there is no rendering on main screen but we continue to render on SceneCapture2D so we can capture images.

One other thing I tried out was to do fad in camera to black. This leaves SceneCapture2D untouched but unfortunately there is no impact on FPS. This probably indicates that fad in is post processing effect and engine continue to do power lifting even when screen is blank.

My other option is to obstruct camera with some object so main screen turns black. Hope is that this will save resources used in rendering. But there has to be better way!!

---

<div class="post-metadata">

**Author:** ![devast3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devast3d](https://forums.unrealengine.com/u/devast3d)\
**Post date:** [May 26, 2018, 10:32pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/4 "2018-05-26T22:32:52Z")

</div>

Have you ever found the way to resolve this? I’m in exactly same situation as you. Right now I just rotate the camera backwards (thus making the view empty), but that may break if camera behavior is changed, but I don’t have any other ideas.

---

<div class="post-metadata">

**Author:** ![wallytsx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wallytsx](https://forums.unrealengine.com/u/wallytsx)\
**Post date:** [July 23, 2019, 5:06pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/5 "2019-07-23T17:06:58Z")

</div>

I found a workaround to this, you can use c4tnt suggestion and then call CaptureScene on the CaptureSceneComponent every frame and that works.

---

<div class="post-metadata">

**Author:** ![UEtianshuai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UEtianshuai](https://forums.unrealengine.com/u/UEtianshuai)\
**Post date:** [August 3, 2022, 8:01am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/6 "2022-08-03T08:01:10Z")

</div>

I met the same problem. Have you solved it?

---

<div class="post-metadata">

**Author:** ![benjavides](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benjavides](https://forums.unrealengine.com/u/benjavides)\
**Post date:** [January 27, 2024, 1:32am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/7 "2024-01-27T01:32:31Z")

</div>

I created a [small plugin](https://github.com/benjavides/DisableViewportRendering-Plugin) that exposes the function you guys mentioned to blueprints to make it easier. Thanks!

---

<div class="post-metadata">

**Author:** ![Karton](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karton/32/479869_2.png) [@Karton](https://forums.unrealengine.com/u/Karton)\
**Post date:** [January 28, 2024, 9:33pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/8 "2024-01-28T21:33:18Z")

</div>

Is the nullRHI unreal execution flag too harsh for your purpose?

---

<div class="post-metadata">

**Author:** ![UndertakerArt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UndertakerArt](https://forums.unrealengine.com/u/UndertakerArt)\
**Post date:** [March 22, 2025, 8:22pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/9 "2025-03-22T20:22:26Z")

</div>

Hi! Could you please update your plugin?

---

<div class="post-metadata">

**Author:** ![Doston999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Doston999](https://forums.unrealengine.com/u/Doston999)\
**Post date:** [May 2, 2025, 11:09am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/10 "2025-05-02T11:09:11Z")

</div>

Warning! Updating the SceneCaptureComponent every frame using the CaptureScene method turned out to be extremely expensive — FPS drops drastically. It’s better not to disable the main render; just cover the main camera with something. Reducing the Camera FOV to zero might help reduce the load, but under no circumstances should you call CaptureScene on Tick — the game will lag even if your texture is only 16x16.

---

<div class="post-metadata">

**Author:** ![Sam54123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sam54123](https://forums.unrealengine.com/u/Sam54123)\
**Post date:** [May 4, 2025, 8:56pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/11 "2025-05-04T20:56:56Z")

</div>

Will this still render UI widgets that are drawn to the screen?

---

<div class="post-metadata">

**Author:** ![benjavides](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benjavides](https://forums.unrealengine.com/u/benjavides)\
**Post date:** [September 9, 2025, 12:13am UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/12 "2025-09-09T00:13:02Z")

</div>

Since Unreal 5.5 it is possible to output the Viewport directly to NDI, thus avoiding rendering the scene 2 times. So the plugin doesn’t make much sense now.

---

<div class="post-metadata">

**Author:** ![benjavides](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benjavides](https://forums.unrealengine.com/u/benjavides)\
**Post date:** [May 8, 2026, 8:42pm UTC](https://forums.unrealengine.com/t/how-to-completely-disable-all-cameras/417568/13 "2026-05-08T20:42:42Z")

</div>

Related:  
To output nDisplay viewports to NDI enable the plugin and then configure this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/3/723ad7cbeea58cee90e089a443d4e729e4fb357a.jpeg)  
make sure to leave Group Name blank. I’ve had issues when it was not.

On an nDisplay root actor it is also possible to enable Headless Rendering so that Unreal doesn’t even show the output on a display. Useful if you’re just sending nDisplay viewports by NDI/Spout

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/a/e3adcff0b9121795db00d4c9d7184e737305a9e5.jpeg)
