# How to render dof correctly with a scene capture component?

**URL:** <https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106>\
**Category:** C++\
**Tags:** Scene-Capture, image-plate, unreal-engine, question\
**Created:** [March 11, 2021, 12:31pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106 "2021-03-11T12:31:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimdebrouwerLL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimdebrouwerLL](https://forums.unrealengine.com/u/jimdebrouwerLL)\
**Post date:** [March 11, 2021, 12:31pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/1 "2021-03-11T12:31:25Z")

</div>

I want to output the same image with a **scene capture(Right)** component as the **cineCamera(Left)**.  
  
You can notice a major difference in the color and also in the dof.

How to achieve a matching result?

Some comparisons below. (Left image directly from CineCamera, right image SceneCapture)  
  
We are looking at a keyed greenscreen plate (Translucent material) with a simple 3d scene on the background.

* * *
Capture Source: \*\*Final Color(LDR) in RGB\*\*  
Color space wrong, dof visible but wrong.

 ![332079-init1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/f/05fcb451001011bea4154f62105595967156cb35.png)

* * *
Capture Source: \*\*Final Color (HDR) in Linear sRGB gamut\*\*  
Color space wrong, dof visible but wrong.

 ![332111-init3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/4/8e4c0897cf059258fea28c1d7d34f37e56160202.png)

* * *
Capture Source: \*\*Final Color (with tone curve) in Linear sRGB gamut\*\*  
Color space slightly off, dof visible but wrong.

 ![332112-init4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/a/91a373324733744162c82b18c7ab1e6509c10322.png)

* * *
Capture Source: \*\*Scene Color (HDR) in RGB\*\*  
Color space wrong, dof not present.

 ![332080-init2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/f/6dfe5631b0f86a68ed6924ad5f694c62b9b2b020.png)

---

<div class="post-metadata">

**Author:** ![scorpezor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@scorpezor](https://forums.unrealengine.com/u/scorpezor)\
**Post date:** [March 19, 2021, 1:22pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/2 "2021-03-19T13:22:36Z")

</div>

We are having the same problem, and no solutions yet? Scene Capture does’t give the same results as a regular cine camera. Hope Epic can fix these problems.

---

<div class="post-metadata">

**Author:** ![M.Krikken](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@M.Krikken](https://forums.unrealengine.com/u/M.Krikken)\
**Post date:** [March 19, 2021, 1:32pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/3 "2021-03-19T13:32:59Z")

</div>

Is there a fix for this yet?

---

<div class="post-metadata">

**Author:** ![super-generaal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@super-generaal](https://forums.unrealengine.com/u/super-generaal)\
**Post date:** [March 19, 2021, 1:36pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/4 "2021-03-19T13:36:34Z")

</div>

I’ve got the same problem! I hope this is getting fixed soon…

---

<div class="post-metadata">

**Author:** ![nameLive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nameLive](https://forums.unrealengine.com/u/nameLive)\
**Post date:** [November 25, 2021, 11:30pm UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/5 "2021-11-25T23:30:36Z")

</div>

Same problem, need like a CinemaCaptureComponent that takes all its lens settings etc. into account.

---

<div class="post-metadata">

**Author:** ![joantanku](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joantanku](https://forums.unrealengine.com/u/joantanku)\
**Post date:** [August 17, 2024, 12:07am UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/6 "2024-08-17T00:07:13Z")

</div>

Did anyone find a solution for this ??? Having the same issue!!

---

<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, 8:56am UTC](https://forums.unrealengine.com/t/how-to-render-dof-correctly-with-a-scene-capture-component/480106/7 "2025-05-29T08:56:21Z")

</div>

You can use [Pro SceneCapture2D](https://www.fab.com/listings/dae4da66-75f8-4867-84c0-878bea3f9bec) to solve these issues. All you need to do is attach the ProSceneCaptureComponent2D component to the CineCamera, and the captured render target will have the same effect as the viewport!

 ![PixPin_2025-05-29_16-50-09](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/9/ac99f502453181d8741bbdef675885188f6889d5.jpeg)

I set the CineCamera’s focus on the frontmost metal sphere to achieve a depth of field effect. As you can see, the captured render target matches the viewport exactly, preserving the CineCamera’s Lumen and post-processing effects (with depth of field being part of the post-processing).
