# Material Lerp Glitch

**URL:** <https://forums.unrealengine.com/t/material-lerp-glitch/320969>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, glitch, bug-report, question\
**Created:** [June 7, 2015, 1:42pm UTC](https://forums.unrealengine.com/t/material-lerp-glitch/320969 "2015-06-07T13:42:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [June 7, 2015, 1:42pm UTC](https://forums.unrealengine.com/t/material-lerp-glitch/320969/1 "2015-06-07T13:42:48Z")

</div>

This is a very strange glitch I found, I tried to record it as a gif but the constrained fps made it not show up but I recorded the screen: [https://mtc.cdn.vine.co/r/videos/BE263F59B91219323643163983872\_2f49a80283e.2.1.11630754882517266564.mp4?versionId=5vw6Wp1o6WNWkIMy13ZSjg9KCx16lZZN](https://mtc.cdn.vine.co/r/videos/BE263F59B91219323643163983872_2f49a80283e.2.1.11630754882517266564.mp4?versionId=5vw6Wp1o6WNWkIMy13ZSjg9KCx16lZZN)

Saturated colors are randomly blinking.

This is the post processing material setup:

 ![45535-glitch.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/7/40765b20e24c1d3767889bc87cfd0fc16c5daff5.jpeg)

Without the Lerp the glitch does not occur. The Scalar Parameter is also important. Using just a constant makes the glitch not occur either. This is a setup to get just lighting which works with simple diffuse materials. I noticed that without the desaturation I get black lighting where the the base color is very saturated, that black occurs when I put the result in a cheap contrast node or desaturate that. So there might be another bug/glitch here.

P.S.  
I would have used a static switch instead of Lerp but that is currently bugged, at least with post processing materials.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [June 8, 2015, 8:20pm UTC](https://forums.unrealengine.com/t/material-lerp-glitch/320969/2 "2015-06-08T20:20:19Z")

</div>

Hi Davision -

Thank You for your report, I have been able to reproduce the issue and have placed a report, for reference UE-16704.

Eric Ketchum
