I searched the site for an answer but couldn’t find one. What I basically want is to be able to rotate the texture being used on the terrain.
Just for example: I have a road, along the side of the road I want a sidewalk texture. The roads texture is nothing but an asphalt texture that doesn’t need to be rotated like this one : http://www.filterforge.com/filters/3235.jpg
So how do I rotate the side walk tiles texture with the road.
You can’t. It’s cheap to say the entire snow texture is twice as wide, or even to go into the shader and make the entire sidewalk texture go diagonal. But, it’s expensive (memory and time) to save extra info about texture alignment/offset for every terrain vert.
Hacks are, you could make a few rotated sidewalk textures (normal and 45; or normal, 30 and 60) and paint the best one on each road section. Or a special “sidewalk color but no obvious seams” texture for bad roads. Or make your own sidewalk models and put them low on the terrain (can test this using a flat long Unity cube, material set to tile on x.) I suppose (untested) you could try a river maker, with a sidewalk texture, set to not moving at all.