unity – Fade a texture effect as it nears the end of a cylinder mesh

In my game I have a laser beam that travels for about 15m, but abruptly stops due to the mesh the texture is attached to. How can I setup my shader graph so that the end of the texture fades away? I can’t find anything similar to this anywhere online, and have tried multiple things (gradient/colors with lerp attached to alpha) but just can’t figure it out as I’m too new to the whole shader graph thing. Anything helps, thank you.

Note: The texture is ‘animated’ and scrolls along the path of the beam using the shader graph