A better way how to make roads?

Hello guys,

I’m working on Civilization like (hex based) game and I’m trying to make roads by LineRenderer. It looks great but it isn’t rendered on the top of the my terrain if the terrain isn’t flat. Is there any solution how to draw it on the top of the terrain mesh?

Or is there a better aproach? I have an Array of points representing the middle of every hex in road.

Thanks for your advices

There are ofc better solutions, but for linerenderer split your line into like 20 points for example and at each point sample the terrain height and adjut your linerenderer pos acording to it.
Links: