Can you repeat a portion of a texture across a face? I'm currently trying to texture a series of walls, all different lengths, but wish to use the same portion of a texture to cover them all.  I know that I can split up the walls into roughly equal panels, or spread out the wall UVs to various sizes until they repeat as necessary, but my goal is to keep the polycount low, as well as keep the texture usage to a minimum.  My goal is to dedicate a strip of my main texture (say 128x1024 of a 1024^2 texture) to a repeating wall panel, and then tile that across my walls using different materials.  Other portions of the texture will cover windows, floor tiles (which similarly need to repeat, though in two directions), posters, and fake room renders I'll be scribbling in myself.

tl;dr:

Is it possible to repeat just a portion of a texture map across a large face?
You can use some math nodes and keep simple proportions for you texture parts (for instance working with 1/2 or 1/4... easy to multiply or divide).

Here is an example :



Each face is assigned to a material composed of nodes like these ones (this material is for the red triangles) :




Amount of repeats
Shift U as the triangle starts at U = 0.5
Don't shift V as the triangle starts at V = 0
Modulos : here the texture is divided in 2 (so modulo = 1/2)
Shift back U to 0.5
Shift back V (but V starts at 0)


For the blue square, you may invert the roles for U and V.

For the green circle, just don't shift anything.

To reach the upper right quadrant, shift both U and V 0.5.