Skip to main content
OWL Cinecam

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 Capture is highly performant because it doesn’t render the scene again. It copies whatever your viewport is already showing to the Render Target. Only the UI is sometimes drawn again, when Capture Widgets is ticked.

  • It copies the viewport’s finished, display-ready image, which is 10-bit by default. The Render Target is 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, or TSR at a lower Screen Percentage, raises the viewport’s frame rate, and the capture follows it.

Set Up the Viewport Capture

  1. Go to Place Actors and in the Off World Live panel select OWL Viewport Capture and drag and drop it into your level. The Media Output Wizard can also set up a Viewport Capture and its output for you:

  2. In its Details panel, you can change these features:

    1. Texture Target: This is where you set a Render Target to capture the Viewport. Its size is changed to match the viewport, whatever size the asset was made at.

    2. Pause Rendering: You can tick this if you want to stop the Render Target from capturing.

    3. Capture Widgets: Works in Play In Editor, standalone and packaged games, not in the editor viewport. When ticked it captures any HUD you have set up for your Viewport as well as the gameplay.

    4. 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.

    5. On Target Resized (Blueprint event): fires each time the Render Target changes size.

  3. The Viewport Capture will always capture whatever active Viewport you have selected in Editor (or in game):

  4. Whatever you select you will see automatically appear in your Render Target:

Troubleshooting

  • The Render Target always follows the viewport’s size, in the editor, Play In Editor and 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 from On Target Resized rather than Begin 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.