Rotating Texture 90 degrees

Hi,
Bit of a beginner question, I am using an Architectural Textures pack from the marketplace and I cannot work out how to rotate the texture 90 degrees on my mesh. I want the texture to tile in a different direction (90 degrees) I have tried adjusting texture co-ords and adding a custom rotate to various texture samples as shown in another forum answer but I cannot work out exactly what and where I need to hook it up to make the changes as there seem to be a few diffuse maps.

Thanks in advance

e55f59f7baac7db9783b78d1fed1371c7f97cb4d.jpeg
826190cf03d3776f4bc54d50c0f121a5b1b61b47.jpeg

Here;

394840f4e5a031183231006e7ffb508db019e19d.jpeg

Thanks for the help but where in the above material do I put the custom rotator? There are multiple texture samples and most of them already have texturecoords already plugged into their uv sockets

place the rotator between the texturecordinate and the uv input of your texture. Every texture that has the same texcoordinate and requires the same amount of rotation can be plugged into the same rotator. Any texture that has the same texcoordinate but does not require rotation can be plugged directly into the tex coordinate (ignore the rotator). As always if multiple textures require different textcoordinates and/or rotation you must create new textcoordinate / roatation nodes accordingly. Reuse nodes as often as possible to reduce clutter, you can have multiple outputs on each node.

A slightly faster (performance wise) way to do it would be to break float 2, make float 2 and swap the x and y.

newU=v
newV= 1 - u

Also negate UTiling if you don’t want the result mirrored incorrectly (note you can also transform in widgets)

I object.
what why?
because if this only needs to happen once for one object you loose way more performance then just editing the object’s UVs.

additionally, if you shove the code into the custom UV pin and then change the UV you are using across the different texture samples you would also somewhat save on performance.

I THINK you can even just override the default behaviour of UV0 this way. Basically hook the code into the UV0 pin and you won’t even need to update the UV nodes…