How to make Line Renderer handle textures at the end and corner vertices?

This is how it looks like at the end vertices

And this is how it looks like at the corners:

Not pretty. Pretty much forces me to use 0 vertices at the corners. Is there anything I can do about this without switching to a third party line renderer? (If so, please recommend one)

Generally the thinking behind LineRenderer seems to be the lines would be thin and small enough to hide mitering and capping artifacts like you list above.

You might need something like a roadway generator for this sort of thing.

I made a roadway generator in the makeroads folder of my MakeGEO project:

EDIT: wrong repo posted originally: this is the correct one:

MakeGeo is presently hosted at these locations:

https://bitbucket.org/kurtdekker/makegeo

And of course the reference Asset Store package is Vectrosity.

The LineRenderer is very limited in its functionality, and seemingly has many bugs and shortcomings in what it does have. Unfortunately. I’m interested in your solution, but I can’t find the folder “makeroads”. It just doesn’t exist it seems.

Oh my goodness, I apologize!!! I sent you the wrong link! I have updated it above. THIS is the correct link:

MakeGeo is presently hosted at these locations:

https://bitbucket.org/kurtdekker/makegeo

https://github.com/kurtdekker/makegeo

https://gitlab.com/kurtdekker/makegeo

https://sourceforge.net/p/makegeo

This makeroads class is excellent. It might serve exactly the needs I have. Thanks for linking it!

8808781--1198150--upload_2023-2-15_15-46-27.png

I got this little graphical artefact. The starting two tris are always static. The verts and tris are the same, but uvs are broken I guess? Any idea why?

Also, do you think it is possible to have automatic corner smoothing? Is it hard to implement?

8808781--1198153--upload_2023-2-15_15-48-46.png

I found the solution to the first issue and made an issue on the Github. Cheers

One last issue I have with makeroads is that it’s hard to make it face another angle than y. I am trying to adapt it for -z instead of y.

Any suggestions how to do that?

I’ve come as far as to make it face -z, but the edges and contour features don’t work.