# CameraVector in PostProcess material.

**URL:** <https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932>\
**Category:** Rendering\
**Tags:** unreal-engine, Post-Process, question\
**Created:** [April 4, 2016, 8:39pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932 "2016-04-04T20:39:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fbe2d247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fbe2d247](https://forums.unrealengine.com/u/anonymous_user_fbe2d247)\
**Post date:** [April 4, 2016, 8:39pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/1 "2016-04-04T20:39:03Z")

</div>

CameraVector seems to be broken when used at post process material. It does not work when current pixel does not have depth value eg. Sky pixels. There wasn’t any problem at 4.10 or earlier.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [April 5, 2016, 2:10pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/2 "2016-04-05T14:10:19Z")

</div>

Hello Kalle\_H,

Could you provide me with some simple steps and screenshots to reproduce this issue on my end?

Thank you,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fbe2d247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fbe2d247](https://forums.unrealengine.com/u/anonymous_user_fbe2d247)\
**Post date:** [April 5, 2016, 6:50pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/3 "2016-04-05T18:50:02Z")

</div>

I created new Blank blueprint project. I made post process material where I plug CameraVectorWS to emissive. I add that material to post process blendables. Then I deleted Bp\_SkySphere so there are lot’s of pixels where there are no opaque pixels rendered. Those pixels are pitch black. This wasn’t the case in 4.10.

 ![85414-postprocessmaterial.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/5/ea5250ca34f8c2a5f3d4fecc9565501ebb6b9110.png)

 ![85415-screenshot00000.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/2/c8265730cf85a7af066ef22bb8f8735f796737e9.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [April 6, 2016, 6:08pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/4 "2016-04-06T18:08:51Z")

</div>

Hello Kalle\_H,

I was able to test and verify what you are reporting. I have gone ahead and entered a bug report for this issue (UE-29146). I will say that we tested this issue in future release of the engine, and it was fixed within that version.

**Update** This bug has been verified as fixed in the 4.12 Preview 1 release

Let me know if you have further questions.

Cheers,

---

<div class="post-metadata">

**Author:** ![slayniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slayniac](https://forums.unrealengine.com/u/slayniac)\
**Post date:** [June 20, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/5 "2016-06-20T14:00:17Z")

</div>

Hi, can you confirm that this fix has made it into 4.12.3? Because I am having exactly this issue. Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [June 20, 2016, 2:41pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/6 "2016-06-20T14:41:08Z")

</div>

Yes, I can confirm this is fixed in the 4.12.3 release.

---

<div class="post-metadata">

**Author:** ![slayniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slayniac](https://forums.unrealengine.com/u/slayniac)\
**Post date:** [June 20, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/7 "2016-06-20T15:11:55Z")

</div>

Thanks for checking. Is there something I’m doing wrong then? The background is still black when only providing the CameraVectorWS node as output. ☹

 ![95238-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/a/7aaa6c1fab7ed78e02c19cf7be9fc11a85e36efa.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [June 20, 2016, 3:25pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/8 "2016-06-20T15:25:21Z")

</div>

That is really odd, because my 4.12.3 version is showing the correct outcome.

 ![95249-cameravectormat.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/d/e3d8738a0f71b9a6027aa22f1b43ecef48fb61d3.jpeg)

Try making a new blank project to see if that resolves the issue, as I just tested this set up in a new 4.12.3 project, and it renders as expected. This could be an issue with your DDC not updating, if you updated this project from a previous version of the engine.

Cheers,

---

<div class="post-metadata">

**Author:** ![slayniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slayniac](https://forums.unrealengine.com/u/slayniac)\
**Post date:** [June 20, 2016, 3:46pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/9 "2016-06-20T15:46:07Z")

</div>

The screenshot I posted came from a new 4.12.3 project. Is there a way to force updating the DDC?  
Remember, you need to delete the SkySphere from the scene to allow the problem to occur. While using such a sphere as a workaround may do the trick in most cases it’s sadly no option for our project and I can confirm it worked without one up until 4.11.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [June 20, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/cameravector-in-postprocess-material/352932/10 "2016-06-20T16:11:23Z")

</div>

Ah you are indeed correct. It seems the fix might have broke again somewhere along the preview releases, so I have made sure to update the report to let them know about the details. Thanks for making sure the fix was indeed corrected.

Let me know if you have further questions or need additional assistance.

Cheers,
