# Linear UV scaling (increased tile size) with distance

**URL:** <https://forums.unrealengine.com/t/linear-uv-scaling-increased-tile-size-with-distance/433738>\
**Category:** Rendering\
**Tags:** tiling, distance, unreal-engine, Landscape, question\
**Created:** [September 13, 2018, 7:02pm UTC](https://forums.unrealengine.com/t/linear-uv-scaling-increased-tile-size-with-distance/433738 "2018-09-13T19:02:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WGS\_Stillwater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WGS\_Stillwater](https://forums.unrealengine.com/u/WGS_Stillwater)\
**Post date:** [September 13, 2018, 7:02pm UTC](https://forums.unrealengine.com/t/linear-uv-scaling-increased-tile-size-with-distance/433738/1 "2018-09-13T19:02:27Z")

</div>

![253626-tilingue4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/9/c19dee0d7c0aeb23acad1e299e7c9a0eaf6e3759.jpeg)

So I’m able to blend my landscape textures properly to reduce tiling, however my current roadblock is creating a linear gradient the increases exponentially as camera distance increases so we’ll say UV coordinates min 1.0 (close up) and max .01 (extreme distances) and what I’d like is for this UV to gradually increase tile size as the camera distance increases.

What I end up with right now using a pixeldepth blend is a hard cut at my specified distance to my “increased” tile size when what I want is a gradual shift to the largest tile size.

What do I do here? Thanks

---

<div class="post-metadata">

**Author:** ![ElegantSquid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ElegantSquid](https://forums.unrealengine.com/u/ElegantSquid)\
**Post date:** [May 16, 2019, 8:24pm UTC](https://forums.unrealengine.com/t/linear-uv-scaling-increased-tile-size-with-distance/433738/2 "2019-05-16T20:24:08Z")

</div>

camera position and world position into a distance node, divide by fade distance, add power and saturate it to get a 0-1 value over that distance as gradient
