# Scrolling material with overlay texture, overlay is scrolling too and should not be!

**URL:** <https://forums.unrealengine.com/t/scrolling-material-with-overlay-texture-overlay-is-scrolling-too-and-should-not-be/17324>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [December 17, 2014, 1:21am UTC](https://forums.unrealengine.com/t/scrolling-material-with-overlay-texture-overlay-is-scrolling-too-and-should-not-be/17324 "2014-12-17T01:21:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kory](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kory](https://forums.unrealengine.com/u/Kory)\
**Post date:** [December 17, 2014, 1:21am UTC](https://forums.unrealengine.com/t/scrolling-material-with-overlay-texture-overlay-is-scrolling-too-and-should-not-be/17324/1 "2014-12-17T01:21:17Z")

</div>

Material:

 ![RHgeHP6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/2/4f2acc939a9aee71bff819f918c0708426d2baaa.png)

The top texture is our overlay that we want to remain static. The bottom texture we want it to rotate/scroll based on the input we provide it. The problem is that the overlay is scrolling with the bottom texture as well. How can we keep it fixed?

Sample output (please ignore the incorrect material above the bottom one, I was testing something with the UVs):  
 ![Y6iilD3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/f/9af84bbeddc4aae81864e4c79f4ed0dbfff19009.png)  
 ![PuPyPA6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/1/041aced88b99b077f42b0a49a1e914a1079a2d27.png)

Notice the bottom of the second image is faded out in the middle. If the overlay is static it would fade out on the edges instead of here. So for some reason the overlay texture is being scrolled as well.

Thanks to anyone that can help!

---

<div class="post-metadata">

**Author:** ![Kory](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kory](https://forums.unrealengine.com/u/Kory)\
**Post date:** [December 20, 2014, 4:51am UTC](https://forums.unrealengine.com/t/scrolling-material-with-overlay-texture-overlay-is-scrolling-too-and-should-not-be/17324/2 "2014-12-20T04:51:38Z")

</div>

Question was answered here: [https://answers.unrealengine.com/questions/148513/scrolling-material-with-overlay-texture-overlay-is.html](https://answers.unrealengine.com/questions/148513/scrolling-material-with-overlay-texture-overlay-is.html)
