# Render target outputting wrong colours

**URL:** <https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016>\
**Category:** Rendering\
**Tags:** rendertarget, hdr, scenecapture2d, unreal-engine, Tonemapping, Rendering, question\
**Created:** [November 1, 2016, 5:53am UTC](https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016 "2016-11-01T05:53:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SFtheWolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SFtheWolf](https://forums.unrealengine.com/u/SFtheWolf)\
**Post date:** [November 1, 2016, 5:53am UTC](https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016/1 "2016-11-01T05:53:44Z")

</div>

So I have a SceneCapture2d, it captures to a render target, the contents of which look normal:

 ![113233-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/e/84ebafc8f83751279076064c3b1d36582071407f.jpeg)

Then I add a blendable to the player camera which outputs the contents of the render target to the screen with no modification, but it ends up looking like this:

 ![113234-capture+2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/3/d83812773e29fac9ba6e1c594412bc4b0de8efda.jpeg)

If I move that blendable’s Blendable Location to before the tonemapper, it then outputs the correct colours, however this will cause effects like filtering and motion blur to get applied after my blendable, which will destroy the effect I’m trying to achieve.

I’ve tried every setting for the Scene Capture’s Capture Source to no avail, and changing the render target to HDR or LDR makes no difference.

I just want to scene capture the screen’s final LDR colours post-tonemapping/blur/etc., operate on those, then output them to the screen with no further modification. How do I achieve that?

---

<div class="post-metadata">

**Author:** ![SFtheWolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SFtheWolf](https://forums.unrealengine.com/u/SFtheWolf)\
**Post date:** [November 1, 2016, 6:12am UTC](https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016/2 "2016-11-01T06:12:41Z")

</div>

Woop just found this old post: [Matching color in render texture that is the result of a SceneCapture2D with original scene render - Rendering - Unreal Engine Forums](https://answers.unrealengine.com/questions/131483/matching-color-in-render-texture-that-is-the-resul.html)

Setting target gamma to 2.2 did the trick!

---

<div class="post-metadata">

**Author:** ![XIAO\_DEV1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XIAO\_DEV1](https://forums.unrealengine.com/u/XIAO_DEV1)\
**Post date:** [October 6, 2023, 9:39pm UTC](https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016/3 "2023-10-06T21:39:22Z")

</div>

Tried setting target gamma to 2.2 and switching to LDR, the color is still off.  
If using LDR there’s no render.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/0/8a01ab350082b51f5a564abb4b465ca2d52046aa.png)

---

<div class="post-metadata">

**Author:** ![lehuan5062](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lehuan5062](https://forums.unrealengine.com/u/lehuan5062)\
**Post date:** [October 30, 2024, 9:51am UTC](https://forums.unrealengine.com/t/render-target-outputting-wrong-colours/375016/4 "2024-10-30T09:51:53Z")

</div>

same here
