# How to capture active view into a texture?

**URL:** <https://forums.unrealengine.com/t/how-to-capture-active-view-into-a-texture/488724>\
**Category:** Cinematics & Media\
**Tags:** viewport, capture, unreal-engine, render-target, question\
**Created:** [September 13, 2021, 9:00am UTC](https://forums.unrealengine.com/t/how-to-capture-active-view-into-a-texture/488724 "2021-09-13T09:00:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuck\_compiling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Post date:** [September 13, 2021, 9:00am UTC](https://forums.unrealengine.com/t/how-to-capture-active-view-into-a-texture/488724/1 "2021-09-13T09:00:14Z")

</div>

I’m toggling 3D rendering, but having it disabled doesn’t recycle the previous frame until re-enabled, displaying pitch black instead. What’s the simplest way of rendering an arbitrary view into a texture?

---

<div class="post-metadata">

**Author:** ![stuck\_compiling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Post date:** [September 24, 2021, 1:55pm UTC](https://forums.unrealengine.com/t/how-to-capture-active-view-into-a-texture/488724/2 "2021-09-24T13:55:59Z")

</div>

Posting the next best thing: Made an actor that’s just a 2d capture component, and try to copy as many settings from the camera as it lets me. Spawn it whenever I need a capture, then kill it. No complaints performance wise, but there are some annoyances like pixel depth offset not being rendered for the still, and other minor things that cause slight visual differences.
