I am trying the achive this design :
(This is a picture from an app that allows you to draw lines)
I am working on a 2d mobile project where i am creating lines by using 2 points, one is created when the finger touches the screen and the other one is created when the finger leaves the screen, therefore, the line is straight.
I am looking a way such as a Script/Material/Shader or anything else that will make my lines glow.
I’ve tried a couple of idea but nothing is close to what I am trying to make.