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 to capture rendered scene with transparent background and save it to PNG?

How to capture rendered scene with transparent background and then save it to PNG? By "transparent background" I mean some selected objects are in the foreground, and everything else is invisible and interpreted as transparency.

Something like this (house icons) alt text

So far I can save captured scenes to PNG but with black background.

EDIT: forgot to mention this is supposed to be done entirely in-game (and even from many different angles at once)

Product Version: UE 4.16
Tags:
more ▼

asked Jul 25 '17 at 02:41 PM in Rendering

avatar image

AlekseyIlin
304 16 18 29

avatar image Nuclear Arbitor Jul 25 '17 at 04:26 PM

i assume you're trying to do this from within UE4, as opposed to using another program. i've never tried to do something like that before but you could use a mask and set black to be the mask colour. as long as black is only found in the background this should work.

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

1 answer: sort voted first

hi,

my guess would be to use Hi-Res Screenshot tool along with custom depth mask and tag the objects using the "Render Custom Depth" feature in the details pannel.

This will allow you to only capture certain objects in the scene https://docs.unrealengine.com/latest/INT/Engine/Basics/Screenshots/#highresolutionshot

more ▼

answered Jul 25 '17 at 05:50 PM

avatar image

Cremuss
58 1 6 7

avatar image AlekseyIlin Jul 25 '17 at 05:58 PM

Sorry, I forgot to mention this is supposed to be done entirely in-game (and even from many different angles at once). Is there an easy way to use whatever HighResScreenshot's using for masking?

avatar image Cremuss Jul 25 '17 at 07:55 PM

ah.. then I guess render targets are your best bet. I think you can set which objects are visible and what not using visibility lists or something like that. best luck

(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