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"

Render Screenshot with Alpha channel

I'm creating some promotional art for my game. I want to render some in-game assets but with an alpha so I can post them online with a different background. Is there anyway of doing this? When I try to render the assets in blender or maya I can't match the lighting and materials so it looks totally different.

Product Version: UE 4.17
more ▼

asked Nov 24 '17 at 06:17 AM in Rendering

avatar image

218 13 12 24

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

-2 answers: sort voted first

Well, one thing you could do is open the mesh and under the details in the settings section, untick "show environment" and "show floor" this should give you a grey background. The lighting might not be the same if you're using custom post processing effects and unticking "show environment" changes the lighting as well becuase it's using the background as an HDRI. However, they do have the full post processing stuff under the details pane.

Once you do this, you can take a screenshot, take the image into photoshop or gimp and use fuzzy select to get rid of the background grey.


Forgot to mention, if you're rendering a skeletal mesh, you probably don't want to render the t-pose, so just go into animations at the top, choose whatever animation you want and pause it, move the time to where ever looks good, and continue with the set up as stated.

more ▼

answered Nov 24 '17 at 06:41 AM

avatar image

231 2 4 6

avatar image KrunkFu Nov 24 '17 at 06:50 AM

I thought about doing something like that but in the level setting up a green screen that wont cast shadows or anything but it seems like such a janky way of going about it. I'm hoping there is a way to do it properly.

avatar image rklsImmersion Nov 24 '17 at 07:29 AM

Ok, I just found exactly what you need. I haven't learned how to use it (so I can't tell you how), but it's actually in the UE4 docs


at the very bottom there is a video which shows an example of taking a screenshot of two chairs with the background in the scene, but using a custom depth map which only renders the chairs, not the alpha.

avatar image rklsImmersion Nov 24 '17 at 07:41 AM

Ok, figured it out. 1: In the viewport next to perspective, click on the arrow. 2: Click on "high resolution screenshot" 3: In there, click on "use custom depth as mask" 4: If it turns green, great. Now find your mesh in the world outliner. Click on that. 5: In the details pane, search for depth. You should see something which reads "Render CustomDepth Pass" Tick that 6: Use the box select in the lower left of the High Res window to select the area you want, or just click the camera in the lower right. That exports it. You may have to click on a different object before you take the screenshot because it might export other crap like the move handle or the collision box etc. You can always just untick "visible" in their details.

avatar image cowill Jul 05 '19 at 02:10 PM

Using this method, the alpha information is lost, any suggestions how to keep alpha information of translucent material? Thanks.

avatar image KrunkFu Nov 24 '17 at 03:16 PM

I'm such an idiot.The documentation is the first place I checked but I didn't watch the last video which is exactly what I needed. Thanks.

(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