TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
316 stars 16 forks source link

calculate discrete UV sample per lane #30

Open TheDuckCow opened 1 year ago

TheDuckCow commented 1 year ago

Right now we have "snapping" UV samples (which is great!) to ensure that our line segments are never partially cut off. However, the textures stretch unfortunately on the outsides vs insides more, see below how the further away lane has much longer lines around the curves:

Screen Shot 2023-01-07 at 5 45 34 PM

Potentially relevant, see this highly related presentation that also touches on some aspects of this (referenced from this also relevant, much longer live stream)