I have a network of roads here that I want to give texture, but I have no idea how to do this seamlessly. I gave it a noisy gray texture for the asphalt but I don't know how to put the yellow lines/ white lines on certain areas.

Here is the road network: enter image description here

It's a lot bigger than what you see, the width of each road is 3.7m. Also, UV mapping is one of my weaknesses so if it is needed for this I might need a bit more explanation to understand it. Thank you.

up vote 1 down vote accepted

Well, to start off, tileable textures are easy to make with the free Krita, for example. Just press W to see your image a tiled:

enter image description here enter image description here

Then, scale your UVs to the width of the texture:

enter image description here enter image description here

That way you at least get the straight roads to be tiled:

enter image description here

For the intersections...

enter image description here Image taken from here

If you make edges in the middle of the road and want to slide them with GG, you probably need to check the 'Correct UVs' in the Tools panel (press T in viewport) in order to slide only the edge and not distort the road texture:

enter image description here

One way is to use this kind of texture in a separate material assigned to new polygon to terminate the tiling road:

enter image description here

Then just rotate and move (G,X or Y to restrict the axis you're moving the UV)

enter image description here

For the diagonal roads, you may need to use GG and then slide back a bit and then hold down Alt and then slide forward in order to lengthen a diagonal road polygon:

enter image description here

The diagonal-to-straight road transition is a bit difficult to make nicely. If you don't want to be too finicky about it, maybe just go like this, select the polygons and unwrap the road again and scale it to the width of the road texture like before. Then just slide the UVs until you have a nice result:

enter image description here

Just ask in the comments if you have issues with these or want to know something extra :) I'll update the answer.

  • 1
    Thanks! this was very helpful, I'm still hard up with the intersections but I'll manage. – Nerdicon Sep 12 at 2:04

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.