# Lerp: Alpha don't make texture transparent but reverses color?

**URL:** <https://forums.unrealengine.com/t/lerp-alpha-dont-make-texture-transparent-but-reverses-color/501536>\
**Category:** Blueprint\
**Tags:** lerp, unreal-engine, UE4-26, Blueprint\
**Created:** [February 23, 2022, 8:09pm UTC](https://forums.unrealengine.com/t/lerp-alpha-dont-make-texture-transparent-but-reverses-color/501536 "2022-02-23T20:09:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![V0gelF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@V0gelF](https://forums.unrealengine.com/u/V0gelF)\
**Post date:** [February 23, 2022, 8:09pm UTC](https://forums.unrealengine.com/t/lerp-alpha-dont-make-texture-transparent-but-reverses-color/501536/1 "2022-02-23T20:09:43Z")

</div>

Hello together!

I’ve been trying to create a desert landscape material. I want to simulate wind going over the sand with an animated texture, but the second lerp doesn’t work like I wished it would.

What I try to achieve:  
Moving waves added onto the diffuse desert texture, but only on one side of the dunes.

What works:  
The waves move as intended. However, instead of becoming masked/transparent at the other side of the dunes the color I put into the waves will reverse as you can see in the screenshot below.  
Please note, that I set the scene to unlit and colored the wind green to be able to see it better. If I set the wind color to white the masked parts will turn black and after building light the results are the same. (Its still hard to see in the picture)

 ![8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/2/3d27dd7a6691ca36110793d246b0a0b0ac168059.jpeg)

I tried multiplying, lerping the other way around, combining the two masks and then lerp between textures… everything I did turned out even worse.

 ![7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/6/c860704100d0a7033ec7280e9f0a1e0ca8af1c32.png)

Please, if someone could explain to me what I have missed / been doing wrong and help me find a solution I would be very grateful 🙂

Best,  
Franzi
