x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: UE 4.15
Tags:
more ▼

asked Mar 25 '17 at 04:27 PM in Blueprint Scripting

avatar image

Gomo
131 5 12 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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.

more ▼

answered Jan 14 '18 at 12:02 PM

avatar image

IlllIl
44 4 10

avatar image maxhimmel Feb 28 '18 at 08:38 PM

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.

avatar image IlllIl Feb 28 '18 at 09:11 PM

I'm glad I was able to help out, means a lot to me :-)

avatar image 团子Zero Mar 26 '18 at 09:22 AM

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

avatar image oppne Oct 24 '18 at 12:50 PM

Thats not a rendertarget. Thats a texture

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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,

https://convertio.co/hdr-png/

more ▼

answered Jul 21 '17 at 04:13 PM

avatar image

Mistress Lillith
221 4 7 17

avatar image Gomo Jul 21 '17 at 09:51 PM

Thanks, I'll check that

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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!

more ▼

answered Aug 11 '17 at 03:01 PM

avatar image

Real-3D
66 2 8 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question