# Combine to Lerp nodes for landscape texture (distance based scale, tiling, marco variation)

**URL:** <https://forums.unrealengine.com/t/combine-to-lerp-nodes-for-landscape-texture-distance-based-scale-tiling-marco-variation/536801>\
**Category:** World Creation\
**Tags:** unreal-engine, UE5-0, Landscape, question\
**Created:** [April 22, 2022, 3:15pm UTC](https://forums.unrealengine.com/t/combine-to-lerp-nodes-for-landscape-texture-distance-based-scale-tiling-marco-variation/536801 "2022-04-22T15:15:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 23, 2022, 7:54am UTC](https://forums.unrealengine.com/t/combine-to-lerp-nodes-for-landscape-texture-distance-based-scale-tiling-marco-variation/536801/4 "2022-04-23T07:54:13Z")

</div>

I think you need camera distance, not camera depth fade. See this post:

> [@Camera depth fade not working](https://forums.unrealengine.com/t/camera-depth-fade-not-working/480748):
>
> Hello all. I have a question about using camera depth fade in my material. I have fog in my scene that needs to fade out when I get close to it. Best would be if it was based on camera location, but I cant seem to get it to work. In the material editor, it gets the result I want, but in game it just messes up my texture. Any idea how to implement the fade? My texture already has so many nodes, I don’t know where to implement the depth fade. My material is translucent. (iam not using UE fog…

PS: I assume it works if you tweak the lerp with a parameter?

---

_[View the full topic](https://forums.unrealengine.com/t/combine-to-lerp-nodes-for-landscape-texture-distance-based-scale-tiling-marco-variation/536801)._
