# How to add transparent background to scene capture 2d?

**URL:** <https://forums.unrealengine.com/t/how-to-add-transparent-background-to-scene-capture-2d/1176321>\
**Category:** Rendering\
**Tags:** scenecapture2d, Scene-Capture, unreal-engine, Rendering, question\
**Created:** [May 23, 2023, 9:04pm UTC](https://forums.unrealengine.com/t/how-to-add-transparent-background-to-scene-capture-2d/1176321 "2023-05-23T21:04:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Texn0krat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Texn0krat](https://forums.unrealengine.com/u/Texn0krat)\
**Post date:** [May 23, 2023, 9:04pm UTC](https://forums.unrealengine.com/t/how-to-add-transparent-background-to-scene-capture-2d/1176321/1 "2023-05-23T21:04:53Z")

</div>

Hello. I’m trying to add transparent background to scene capture 2d. The problem is I’m using post processing so I need to use Final Color (LDR) for scene capture. But in my material I don’t have anything (as I think) in alpha channel:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/a/89aafd562dc2096ddb920bed0e7b53380fd8f3cf.png)  
I’m using “before tonemapping” in post processing materials. Always persist rendering is enabled. How can I fix that?

---

<div class="post-metadata">

**Author:** ![Monoody](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monoody](https://forums.unrealengine.com/u/Monoody)\
**Post date:** [May 29, 2025, 6:58am UTC](https://forums.unrealengine.com/t/how-to-add-transparent-background-to-scene-capture-2d/1176321/2 "2025-05-29T06:58:33Z")

</div>

The [Pro SceneCapture2D](https://www.fab.com/listings/dae4da66-75f8-4867-84c0-878bea3f9bec) plugin makes it easy to capture transparent backgrounds in scene captures.

First, set **Enable alpha channel support in post processing** to **Linear color space only** and set **EnabledWithStencil** to **Enabled with Stencil** in the project settings,

Then, set the Actor’s **CustomDepth Stencil Value** to an appropriate value (for example, 1).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/2/522675a484f2bb1fe8c3eb4377b234657d67eb17.jpeg)

Next, create a post-process material as shown below. Set the material’s **Material Domain** to **Post Process** , and enable **Output Alpha**.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/4/02428462bceeb2772d5d13c383cfe18e20d26574.jpeg)

Apply this post-process material to the Pro SceneCapture2D, and you’re all set.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/1/d910ccc6df2d3eef83c998c408fb5521517c5e21.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/c/aac03afe09e40bebdf524d7a4fba605f6d967548.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/b/91b22d726f4bb790df3523c0a4fb2813f5e640c0.png)
