Viewport Capture
How to capture the active Unreal viewport to a Render Target, in the editor and in packaged apps.
Last updated About 4 hours ago
The OWL Viewport Capture copies your active Unreal Viewport into a Render Target, so you can stream or record exactly what is on screen, including gameplay. In the editor it captures the active level viewport (click another viewport to switch). In Play In Editor it captures the play viewport or window, and in a standalone or packaged game, the game window. Tick Capture Widgets to include the game's HUD and UMG widgets.
Performance
The
Viewport Captureis highly performant because it doesn’t render the scene again. It copies whatever your viewport is already showing to theRender Target. Only the UI is sometimes drawn again, whenCapture Widgetsis ticked.It copies the viewport’s finished, display-ready image, which is 10-bit by default. The
Render Targetis 16-bit float, but values above 1.0 are clipped, so it doesn’t carry HDR. Your media output’s format can limit it further.It doesn’t support alpha channel.
Upscaling such as
DLSS, orTSRat a lowerScreen Percentage, raises the viewport’s frame rate, and the capture follows it.
Set Up the Viewport Capture
Go to
Place Actorsand in the Off World Live panel selectOWL Viewport Captureand drag and drop it into your level. TheMedia Output Wizardcan also set up a Viewport Capture and its output for you:
In its
Detailspanel, you can change these features:
Texture Target:This is where you set aRender Targetto capture theViewport. Its size is changed to match the viewport, whatever size the asset was made at.Pause Rendering:You can tick this if you want to stop the Render Target from capturing.Capture Widgets:Works inPlay In Editor, standalone and packaged games, not in the editor viewport. When ticked it captures anyHUDyou have set up for yourViewportas well as the gameplay.Fix Gamma:This ensures that your output colors are the same as those you see in Editor. If you want the raw color values then untick this box.On Target Resized(Blueprint event): fires each time theRender Targetchanges size.
The Viewport Capture will always capture whatever active Viewport you have selected in Editor (or in game):

Whatever you select you will see automatically appear in your
Render Target:
Troubleshooting
The
Render Targetalways follows the viewport’s size, in the editor,Play In Editorand packaged games.The
Media Output Encoder(RTMP, SRT, MP4) takes its size when it starts. A packaged game’s window can change size just after it opens, so start the encoder fromOn Target Resizedrather thanBegin Play. NDI and Spout follow size changes on their own.Nothing captured in the editor? Click the level viewport you want, so it becomes the active one.
If the frame rate drops or the sound stops while Unreal is in the background, see Live Troubleshooting.