Texturing a road: 2 materials or 1: Which option is the best ?

Hey,

I created a simple plane, to be used as a road. Now my question is regarding the way I should texture it:

My first idea was to apply 2 different materials (standard shader) on it: one material for the asphalt (so I could easily use a clean asphalt road, or change it to a cracked road, etc. to make it look real), and then for the 2nd material: I would apply a transparent texture for the road marking (so i could only change the 2nd material to use a different road marking).

However, it came to my attention, it is not ideal for performance, which is obviously not something I want, since I will duplicate this plane thousands time or more to make my roads.

So, do you guys think It would be okay to go with 2 materials, or should I just go with one material only.

Yours.

I would strongly recommend 1 material…if you need them to be separate, use a decal shader with the road markings as the decal. Using transparency like this is generally not ideal.

Decal would work perfectly ! Sadly I need a shader that let me add a normal map, which decal do not allow …

@SearchAndRescueStudio Then get a shader which has both…like the Unity 5 standard shader to a degree…you should be able to just use the detail albedo on this…

You can also write your own shader. In the unity manuals you can find examples of detail map and decals, it’s not so difficult even without much knowledge in that part.

https://docs.unity3d.com/Manual/SL-SurfaceShaderExamples.html

For city road intersection, 2 material is a lot better choice to customize road lines. Take screenshot from above of Intersection and make your lines in photo editing software.It’s not good for spline style roads.
Also you can add road lines to a quad and place above of your road intersections. It’s called easy way and is not best way!