So I’m making a game in which I use a LineRenderer to visualize a laser-sight being shot out of a gun. For this LineRenderer I made a custom URP shader to multiply the base color with an emission value:
Now I’m not that good at using shaders yet, so my question is: how do I make it so that I get a gradient from point A with an alpha value of 1 to point B with an alpha value of 0?