Is there a way to make texture repeatable, like example below?

I have one general texture: enter image description here

And I want to repeat symbol B like this, but without cutting the face, using same texture: enter image description here



1 Answer 1


In Short

To repeat an image texture in single face you have to math a bit UV vectors. I used same UVmap from ABC material for second material BBB with this node tree ...

  • Crop and repeat UV by 0,333 with Modulo (Math) node on X axis
  • Offset UV by 1/3 on X axis to get letter B in the view segment

enter image description here

Behind the "Scene" :)

In general UV system positions image textures in 2D space (object surface) by assigning X,Y coordinates to each pixel. In blender it can be visualised by RGB colors (as equivalent to XYZ vectors).

Any image (square or rectangle) placed into blender becomes described by X - horizontal, Y - vertical vector per pixel from 0-1 (visualized in colors by mixing R and G channels also from 0-1 in image with B channel as zero).

enter image description here

On this screen the top and front face is sharing the same UVmap position on image texture. (Even it doesnt look like I can ensure you it is just a known optical illusion).

enter image description here

If you duplicate the material and assign it to front face, you can than manipulate vector coordinates (values) of UV by math nodes.

What above nodes do is just add, subtract, divide ect XY value ... in your case you need just to manipulate X vector ... Module math starts repetition of a texture at given value, when reach reach the given value it starts to repeat left side of an image texture again ... like that you see letter "A". To display midle of this texture with letter "B" you need to offset all pixel values on X axis to move it a side ... simply done by adding a 1/3 value to each pixel.

enter image description here

Even for eyes it is illusion again all the three segments on front face correspond by color to the middle part of top texture :)


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .