# SceneCaptureCube not showing custom PostProcess effect

**URL:** <https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331>\
**Category:** Rendering\
**Tags:** Post-Processing, capture, unreal-engine, UE4, question\
**Created:** [May 13, 2016, 1:08pm UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331 "2016-05-13T13:08:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2edad815](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2edad815](https://forums.unrealengine.com/u/anonymous_user_2edad815)\
**Post date:** [May 13, 2016, 1:08pm UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331/1 "2016-05-13T13:08:58Z")

</div>

I have a custom post process material to output depth as colour, that replaces the tonemapper. I attach the material as a blendable in the global (unbound) post process volume. In the editor I can see the effect being applied, so that’s good.

SceneCaptureCube actors seem to ignore the effects, and they don’t seem to have a setting to allow any custom effects/blendables. They have lots of checkboxes for the post-process pipeline, but that results in just altering the color output.

How can I make the SceneCaptureCube to work as intended?  
Even more advanced question… How can I have two scene capture cubes at the same time, using different post-process materials?

Thanks.

 ![90462-img.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/1/631875ec672649e2edccb284375108b461e7a58a.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2edad815](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2edad815](https://forums.unrealengine.com/u/anonymous_user_2edad815)\
**Post date:** [May 13, 2016, 5:05pm UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331/2 "2016-05-13T17:05:18Z")

</div>

Ok, found my solution, I hope it helps others…  
(If my solution produces bad sideffects, I’ll update here)

I went to the source code, and I duplicated the functionality of SceneCaptureComponent2D with regards to PostProcessSettings, PostProcessBlendWeight and CaptureSource: I added the member variables in SceneCaptureComponentCube, added the Serialize() override and made the appropriate changes to

void FScene::UpdateSceneCaptureContents(USceneCaptureComponentCube\* CaptureComponent)

to use all 3 variables, in the same way they are used in

void FScene::UpdateSceneCaptureContents(USceneCaptureComponent2D\* CaptureComponent)

Using MSVS 2015 I got an internal error near the enqueue command, so I just added duplicated pretty much the whole function, checking the value of bUseSceneColorTexture and setting it as a static const bool in the bodies of the if/else blocks.

---

<div class="post-metadata">

**Author:** ![AgentMilkshake1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgentMilkshake1](https://forums.unrealengine.com/u/AgentMilkshake1)\
**Post date:** [May 18, 2017, 5:08pm UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331/3 "2017-05-18T17:08:18Z")

</div>

Hey BabisK,

Thanks for the information above, I’ve made all the changes in a plugin version of the USceneCaptureComponentCube. Before I make the engine change to FScene and build a custom version of the engine I’m interested to see how you got on. Did it work for you?

Thanks!

---

<div class="post-metadata">

**Author:** ![2196837507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2196837507](https://forums.unrealengine.com/u/2196837507)\
**Post date:** [January 16, 2025, 9:19am UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331/5 "2025-01-16T09:19:35Z")

</div>

Are you done, can you give me some guidance

---

<div class="post-metadata">

**Author:** ![2196837507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2196837507](https://forums.unrealengine.com/u/2196837507)\
**Post date:** [January 16, 2025, 9:19am UTC](https://forums.unrealengine.com/t/scenecapturecube-not-showing-custom-postprocess-effect/357331/6 "2025-01-16T09:19:52Z")

</div>

Are you done, can you give me some guidance？
