# Outline material "shaking"?

**URL:** <https://forums.unrealengine.com/t/outline-material-shaking/443718>\
**Category:** Rendering\
**Tags:** Post-Processing, outline, unreal-engine, question\
**Created:** [February 19, 2019, 6:44pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718 "2019-02-19T18:44:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crowley\_Caine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crowley\_Caine](https://forums.unrealengine.com/u/Crowley_Caine)\
**Post date:** [February 19, 2019, 6:44pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718/1 "2019-02-19T18:44:18Z")

</div>

Hello,

I have added a feature through adapting a tutorial by Titanic Games to add an outline effect to items and NPCs, namely the ones that are closest to me.

Now whereas I don’t use any of the code or the functionality in the tutorial, I do use the outline material he shows and it gives the desired outline effect, but it also causes the item to appear to be “shaking”. Ie, the outline vibrates quite rapidly for some reason.

Here’s a picture of the material (taken from the tutorial as best I could):

 ![269033-highlightmaterial.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/c/2bc09f211989df18bcba7939ba25605442e3d0d8.png)

I apply the material by function through use of blending in the post-processing volume. I’ve tried playing around with the variables but they don’t seem to change anything.

Does anyone have any idea what is causing this “shaking” effect? Or perhaps have a source for an alternate material I could use? I tried getting hold of the one that came with the starter content earlier, but what I found was broken and unusable and I’m not really that good with materials myself so recreating something on my own is not really an option for me.

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Crowley\_Caine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crowley\_Caine](https://forums.unrealengine.com/u/Crowley_Caine)\
**Post date:** [February 19, 2019, 8:21pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718/2 "2019-02-19T20:21:56Z")

</div>

Silly me, just fixing my google search terms led me to the answer:

> **[Weird screen shaking when enabling custom Post Process](https://forums.unrealengine.com/questions/573872/weird-screen-shaking-when-enabling-custom-post-pro.html)**
>
> Hey guys, I made a normal based edge detection post processing effect which should also display blooming effects. To access the bloom buffer I need to set my PP’s Blendable Location to “Replacing the Tonemapper”. Unfortunately the screen starts to...

Still have a problem with the outline being too heavy but I think I should be able to adjust that.

---

<div class="post-metadata">

**Author:** ![DELTA\_12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DELTA\_12](https://forums.unrealengine.com/u/DELTA_12)\
**Post date:** [October 29, 2020, 7:58pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718/3 "2020-10-29T19:58:38Z")

</div>

If anyone is still wondering, I found a solution: you need to set the material blend mode to “Before Tonemapping”. This fixes the shakyness completely

---

<div class="post-metadata">

**Author:** ![GarfSnacks](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/garfsnacks/32/591709_2.png) [@GarfSnacks](https://forums.unrealengine.com/u/GarfSnacks)\
**Post date:** [October 31, 2020, 6:44pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718/4 "2020-10-31T18:44:47Z")

</div>

Thank you Delta! Other than a few edge cases this method works! I would consider this the better option than just switching AA methods.

---

<div class="post-metadata">

**Author:** ![DTyson](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dtyson/32/478207_2.png) [@DTyson](https://forums.unrealengine.com/u/DTyson)\
**Post date:** [December 30, 2022, 3:20pm UTC](https://forums.unrealengine.com/t/outline-material-shaking/443718/5 "2022-12-30T15:20:01Z")

</div>

^\* Blendable location
