Lens Flare Car Headlights


I'm using a Lens Flare component to give the impression of a car's headlight on a night environment.

The problem is that the flare only appears when the car is too close to the camera and I want to see the flare from far away.

How can I do this?

Thanks for any help

You could query the camera's transform, calculate the distance to the camera from the car, and have the car turn the lense flare on and off depending on that distance. That would look funny with it going on and off suddenly. I don't know the lense flare component; maybe you can set its opacity based on the distance to keep it from changing too suddenly.

I guess there are some colliders between camera and car headlights, you can check this.