- Home /
How would you texture a road
I'm creating a racing game and I was wondering if you could texture a road so there would be yellow line in the middle of the road (all the time, even when the road curves)
Answer by hellobard · Dec 15, 2012 at 01:52 PM
There are scripts/assets to do this automatically. But for my game I have made a grid system of road parts. So I have one for straight roads, one for intersections, one for turns, dead ends, etc. Then I have one material/texture which all of these parts use so they can all be statically batched and just use one draw call per grid part/mesh. It's a nice and light system for mobile. Those automatic ones can probably work too, and are in all likelyhood a lot less rigid. Depends on your game I guess.
Your answer
Follow this Question
Related Questions
Random Tiling Textures 0 Answers
Tiling texture moving issue 0 Answers
Texture stretches verticaly on some objects and work well on other objects 0 Answers
Effects Of Tiling Textures 1 Answer
How do you properly let unity resize texture tiling? 0 Answers