# Scalling UV from position of camera

**URL:** <https://forums.unrealengine.com/t/scalling-uv-from-position-of-camera/677288>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [October 26, 2022, 8:35am UTC](https://forums.unrealengine.com/t/scalling-uv-from-position-of-camera/677288 "2022-10-26T08:35:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adragoth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adragoth](https://forums.unrealengine.com/u/Adragoth)\
**Post date:** [October 26, 2022, 8:35am UTC](https://forums.unrealengine.com/t/scalling-uv-from-position-of-camera/677288/1 "2022-10-26T08:35:52Z")

</div>

Hello 🙂 i l working on a projet where i want to scalling my UV from my camera position : mathematicly i see it like it : when i am on 100 unit of distance of my object my UV’s tile one time if i m on 200 unit of distance my UV’s tile 4 time. I began with a lerp interpolation betwen 2 constant values of Tilling but what i want to see is the evolution of the scaling when i move my camera. I m open for help or any idea how i can process 🙂

---

<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:** [October 26, 2022, 8:49am UTC](https://forums.unrealengine.com/t/scalling-uv-from-position-of-camera/677288/2 "2022-10-26T08:49:28Z")

</div>

You probably want it so that the image increases in size as you move the camera away.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/5/f2561b977a82c255769cad5c769b5037f460ab44.png)

![UVScale](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/0/de0ec66440e192e911c9f9b6acc4e4c424212aa5.gif)

---

<div class="post-metadata">

**Author:** ![Adragoth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adragoth](https://forums.unrealengine.com/u/Adragoth)\
**Post date:** [October 26, 2022, 9:08am UTC](https://forums.unrealengine.com/t/scalling-uv-from-position-of-camera/677288/4 "2022-10-26T09:08:43Z")

</div>

Thank you 🙂 very much i just need to clamp the distance of camera and it( will be perfect 🙂  
make the UV stop scalling when i m close of the object
