Scene Capture Component not capturing Lumen Global Illumination

I looked into this and it appears that the camera preview uses seperate viewports. So no scene capture involved unfortunately.

It is possible to copy the frame data from a viewport to a texture using FFrameGrabber but that might not be the best solution since copies everything from the source viewport, including UI widgets. Creating a secondary, invisible viewport to use as the source might work but I’ll have to look into it. In case it’s helpful, here’s my UE5 FrameGrabberSample fork:

In my case I just need a picture-in-picture display of the frame. Using FFrameGrabber would also capture any UI so I’ll try using a WindowOverlay instead since that’ should be above the SceneViewport on the widget hierarchy.

I’ll continue looking into it and keep you all updated on what I find.

2 Likes