Linerenderer line is not smooth

Hello, i have an issue with the linerenderer

I want a smooth line, is there a way to solve this problem?

1920227--123943--GraphLine.PNG

1 Like

The line renderer is basically a strip of triangles. If you think about how a strip of triangles is set up in the vertex data, one vertex is defined from one side of the line, the another on the other side at an offset. It works fine when the whole line is straight. but with a very sharp, and very small turn of angles like you have, it shows up as jaggedness because there aren’t enough vertices to represent the sharp corner you’ve created. If you segment your line more and at a gradual curve around the corners, it should look better?

1 Like