# How to scale Niagara ribbon based on distance to camera

**URL:** <https://forums.unrealengine.com/t/how-to-scale-niagara-ribbon-based-on-distance-to-camera/752250>\
**Category:** FX\
**Tags:** particle-effect, unreal-engine, scale, Rendering, question\
**Created:** [January 18, 2023, 6:18pm UTC](https://forums.unrealengine.com/t/how-to-scale-niagara-ribbon-based-on-distance-to-camera/752250 "2023-01-18T18:18:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 18, 2023, 6:18pm UTC](https://forums.unrealengine.com/t/how-to-scale-niagara-ribbon-based-on-distance-to-camera/752250/1 "2023-01-18T18:18:19Z")

</div>

I’ve dipped my toes in Niagara today and it is like it sounds - somewhat overwhelming.

* * *

I’ve got this dynamic ribbon serving as the beam in the pic:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/3/523b17abf0487b265d81b765cce56b499c0089ca.jpeg)

It is scaled based on its length with `Scale Ribbon Width`, easy enough:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/a/1ca9d6f52cab31b940ae16ab23911d6b8f3a21fb.png)

- how can I also scale it with camera distance? I feel like particle scale / size and camera distance should naturally go hand in hand. I can, of course, push it in through a parameter but was hopping the emitter can pick it up closer to the metal, so to speak.
- can the ribbon Start & End be scaled separately, like a regular spline?
- or is this not how things work at all and this should all be done in material instead?

---

<div class="post-metadata">

**Author:** ![Anthony\_Attwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anthony\_Attwood](https://forums.unrealengine.com/u/Anthony_Attwood)\
**Post date:** [February 21, 2023, 1:02pm UTC](https://forums.unrealengine.com/t/how-to-scale-niagara-ribbon-based-on-distance-to-camera/752250/2 "2023-02-21T13:02:49Z")

</div>

Did you ever figure this out?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 21, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/how-to-scale-niagara-ribbon-based-on-distance-to-camera/752250/3 "2023-02-21T13:10:02Z")

</div>

> I can, of course, push it in through a parameter but was hopping the emitter can pick it up closer to the metal, so to speak.

Yes, this way.

> can the ribbon Start & End be scaled separately, like a regular spline?

~~No.~~

* * *

I take my no back, yes:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/8/8c85369cc1a9b8f7a7756af7945adbb7c71cf42b.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/6/6a69490f2e4b472dfe8b1ef605db429dab2a0f42.png)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/8/a8835609e12740ab1e521cdef675afa08dd7f007.png)

Even better.
