How "export render target" function works?

I am trying to use “export render target” function - it works in some way - it writes a file to disk with given name but it is unreadable in Photoshop - are the some settings to set up within Render Target texture to make it work?

I think it can only export a hdr image file, but you can use a converter to change it from hdr to some other file type,

1 Like

Thanks, I’ll check that

Hi, i’m going through this same situation: it writes me a file that is unreadable, and i can’t open it…
Find any solutions?
Thanks!

I had to go by alll the settings one by one to get it to export to png.

Here’s the settings I used to get it to export to PNG.

On your SceneCaptureComponent se tthe ‘Capture Source’ to ‘Final Color (LDR) in RGB’.
On your RenderTarget2D set the target format to ‘RTF RGBA8’.

This made the file readable for me.

1 Like

This post is relevant to my needs because I was trying to take a picture of my level for a map menu. Your suggestion completely worked, so thank you!

I simply wanted to add that my renders were showing up a bit washed out with whiteness so I wanted to add 2 other settings I changed on the CaptureComponent2D …

I set ‘CaptureEveryFrame’ and ‘CaptureOnMovement’ to false.

I’m glad I was able to help out, means a lot to me :slight_smile:

when i try to set my RenderTarget2D format to ‘RTF RGBA8’ as you did, I can’t find it in my list (UE4.15)

Thats not a rendertarget. Thats a texture

Pretty old comment but it’s probably because your Pixel Format is not RGBA8