five-on-it / apps/client/src/renderer/roads
apps/client/src/renderer/roads
The roads' look: a ribbon per road along its centre line (paved roads dark asphalt, an unpaved track brown, both lit like the level's own ground so they match the asphalt a level models around its junctions), and the paint on the paved ones as @foi/world's roadPaint lays it: edge lines, centre lines and lane lines, clear of the junctions and giving way to the level's own paint (a zebra crossing, a stop line, a grate). The paint is one mesh of thin quads per colour a little above the ribbons, which lie a little above the road's points.