How to make a shader with different emission strengths, depending on the object it is associated to? I'm working on a lyrics video

In this scene there are 41 curved neons going from the floor to the wall in front of the camera.

I'd like to make their shader bright at the center (where the &quot;Bishop Delgado&quot; text is), then lesser and lesser on the sides, until it doesn't emit light anymore. How can I do that?
Here is the shader I applied to the neon tubes so far :
You can get any object's local space with the Texture Coordinate node and use the distance from its center to create a falloff.