[UNSOLVED] How can I make beams become larger at distance?

Hello,

I’m making a city game, and y’know, it has Streetlights.
I’m trying to achieve something like GTA V’s ambient light bulbs.

Here’s what I mean:


You can see that if you are far away from the Streetlight, there’s a glare that is being emitted.

I know that it’s possible to do this, but I just don’t know how.

Here’s how my beam is set up:
a
a

a

I tried to try different TextureModes, but nothing happens if I get further away.

Thanks for letting me know if there’s a way to do this!

2 Likes

Affect only the streetlight bulbs?
You could get the entire blur effect for all instances away in map by just using DepthOfField

2 Likes

Are they beams though?
You can get the same effect with a Neon Part for the bulb with a SpotLight in it and using Lighting’s Future Technology to make the way lights and shadows work more realistic.

2 Likes

What configuration of the DoF would suit my case?

Yes, they are beams.

I am using Future, but at distance it just doesn’t pop out

Essentially my question is, how do other games like Right 2 Fight make their “glare” become larger at distance?

Get the distance between the part and player. You can do this by: (PointOne.Position - TargetPosition).Magnitude

If the distance is greater then whatever distance you want, you’d increase this glare

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.