I want to show a pawn on UI, so I added a scenecapture2d in the level, but there are so many things except pawn in the rendertarget ( sky box, water…), I don’t want to display these things. How to hide these things?
You could set the far-clipping plane on the camera you’re capturing from to a lower value, and that should clip out the background stuff.
It does work for some meshes in level, but sky box still can’t be cliped out.
SceneCaptureComponent2D->General Show Flags->Atmosphere
Might be six years since this was posted - by thank you!!!