mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Handle intersection when using custom LoftModifier

Open cha-hin opened this issue 6 years ago • 2 comments

Hello,

I changed the roads on my map the same way it was done in the Astronaute Game example. I used a LoftModifer with a custom road slice that has sidewalks on both sides and a MaterialModifier with a road seamless pattern. But I'm facing a problem with the road intersections, here is a picture:

screenshot

Is there a way to handle that and make it look better?

By the way when I took this screenshot I was using the Retina option in the Image component but the quality still look the same as when the option was off, is there a fix for this?

Thank you.

cha-hin avatar Apr 20 '20 08:04 cha-hin

Hey @cha-hin! Roads look awesome but I'm afraid there's no way to handle intersections properly. We tried it in the past but it's a very difficult subject and gets worse and worse with birdges, tunnel, underpasses, uncommon/strange intersections etc etc. That's pretty much the only reason why we haven't made this type of road modeling and decorations default :(

Retina option isn't stored in database so it's possible that system is still using non-retina ones from cache. If you clear cache and run with retina enabled, you will probably see the quality change.

brnkhy avatar Apr 21 '20 14:04 brnkhy

Thank you, I understand this must be hard to fix, knowing there is an uncountable number of situations.

I did your trick for the Retina option though and it worked thank you @brnkhy!

cha-hin avatar Apr 22 '20 11:04 cha-hin