# SceneCapture does not match main camera when inside a post process volume. Why?

**URL:** <https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604>\
**Category:** Rendering\
**Tags:** Post-Processing, scenecapture2d, Scene-Capture, unreal-engine, UE5, Rendering, question\
**Created:** [January 7, 2025, 1:46am UTC](https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604 "2025-01-07T01:46:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Estrange](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Estrange](https://forums.unrealengine.com/u/Estrange)\
**Post date:** [January 7, 2025, 1:46am UTC](https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604/1 "2025-01-07T01:46:56Z")

</div>

UE5.5.1  
I have setup a SceneCapture and a PlayerCamera in the same location.  
The SceneCapture is using FinalColorHDR as its capture source.  
I created a simple negate post processing material, applied it to a volume in the world and place both cameras inside.

The output of the two is different, why?  
It appears to be how the post process material is handled, but after hours of source code spelunking, I haven’t found the cause.

 ![ActuallyScene](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/2/dd2c630b14ef9f0982cb03f72ec9dff49c124e38.png)  
PlayerCamera

 ![SceneCaptureFinalColorHDR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/c/15c64bf64bb4e053671a5ba0543914c21addabb7.jpeg)  
SceneCapture FinalColorHDR (not LDR, it looks worse)

 ![NegateMaterial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/f/7cfbb123786cd40bb1e8b37c6979d7e7ae2789b8.png)  
PP\_NegateMaterial

Any help would be greatly appreciated!!! 🙂

---

<div class="post-metadata">

**Author:** ![zubetto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zubetto/32/984287_2.png) [@zubetto](https://forums.unrealengine.com/u/zubetto)\
**Post date:** [January 9, 2025, 3:30pm UTC](https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604/2 "2025-01-09T15:30:33Z")

</div>

It is quite difficult to say the exact reason why these two outputs are so different, but I found that setting the _Blendable Location_ parameter in a post process material to a value other than _Scene Color After Tonemapping_ can give a much better color match (if you look at the descriptions of the available options for _Blendable Location_, you may notice that in all cases except for the _Scene Color After Tonemapping_ option, the input and output are in linear color space, and this may be the cause of the problem).

So in my example I set the _Blendable Location_ to _Scene Color Before Bloom_ and changed the material a bit to have more control over the output (before tone mapping, _SceneTexture_ node _Color_ values ​​can be much less or greater than 1.0):

 ![PPMSettings](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/a/8ba7aa3f49e30d7a9f19cf3c94a313113bca1354.png)

In the _SceneCapture2D_ actor I set _Capture Source_ to _Final Color (with tone curve) in Linear sRGB gamut_, and in the render target I set _Render Target Format_ to _RGBA8 SRGB_ (note that _RGBA8_ may produce color banding in shadows, but of course formats with higher bit depths can give better results):

 ![RenderTargetAndSceneCaptureSettings_01outline](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/c/b3c1401bd5f3c386c68cbbf24f5f1fa97baee404.jpeg)

[This recent video](https://youtu.be/II_rnWU7Uq8?si=tDGuO0XZerFlrg7L) about the color pipeline of a pixel might also be helpful.

---

<div class="post-metadata">

**Author:** ![Estrange](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Estrange](https://forums.unrealengine.com/u/Estrange)\
**Post date:** [January 13, 2025, 8:49pm UTC](https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604/3 "2025-01-13T20:49:12Z")

</div>

Thank you, That is a MUCH closer match.

Another bit of weirdness I discovered, if you plan to use the RT itself inside of another PP material, you have to turn off the scene capture’s tonemapper to get it to match. This causes the RT itself to no longer match the scene, but it will match after being ran through the PP material (which also needs to be set to before bloom).

I really hope I just missed something bc this is getting convoluted.

Also thanks for the video, I enjoyed it! Very educational!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 12, 2025, 8:49pm UTC](https://forums.unrealengine.com/t/scenecapture-does-not-match-main-camera-when-inside-a-post-process-volume-why/2263604/4 "2025-02-12T20:49:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
