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"

Export Render Target File Path and File Name

Hello, I am a bit new to visual scripting and programming in UE4, so this is a very simple question. I am looking to export a render target to a PNG using the "export render target" function. I am confused as to what I am supposed to put for "file path" and "file name." I understand they need to be string variables, but I am unaware as to what to do to get the function working. If somebody could show me an example of a blueprint script that exports a render target and explain what they did to select their file path and file name, I would be greatly appreciative. Thanks so much!

Product Version: UE 4.21
more ▼

asked Nov 14 '18 at 10:01 PM in Blueprint Scripting

avatar image

1 2 2

avatar image Darrel Leigh Dec 01 '18 at 03:57 PM

alt text

Something like this, So you specify the folder to export and the name you want to call your image. On Import, the complete path and name.

example.jpg (60.8 kB)
avatar image Darrel Leigh Dec 01 '18 at 04:07 PM

Take note, when exporting a Render Target, check the Capture Source in the Scene Capture Component, if you use HDR change the file type extension to .HDR, If using LDR change to .PNG. Also open up your Render Target and select the correct Render Target Format, RTF RGBA8 is a good bet.

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

0 answers: sort voted first
Be the first one to answer this question
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