0
$\begingroup$

I'm currently trying to texture a road with textures from CC0Textures. I've got an asphalt texture and a road lines texture both Principled BDSF with their own colour, roughness and normal maps. The only problem is, is that the road lines come out facing the wrong way. enter image description here

My node setup looks like this. enter image description here

$\endgroup$
1
$\begingroup$

You can use "Mapping" node: with this node you can edit scale, location and rotation of your texture. Just add it to the node tree of your shader and connect the "Vector" output to the "Vector" socket of your image nodes (try only mask first, and if it doesn't work try with both mask and color/rgh/nrm maps). "Mapping" node needs the "Texture coordinate" node (Shift+A > Input > Texture coordinate).

But I would suggest to properly UV unwrap your plane, so the direction is set in the UV editor once:

By rotating the UVs you can change the rotation of the texture projection

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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