4
$\begingroup$

Enter image description here

In the extension settings mainly you choose repeat, right? But can you change the distance between that repeat texture without stretching or adding more geometry lines? Using nodes maybe?

$\endgroup$
5
  • 1
    $\begingroup$ There has to be a color in the "space" between textures so why not just ad a rimm of that color around the texture in the image file? (Transparency is also posssible using an alpha channel) $\endgroup$ – Filip Franik Jun 12 at 7:33
  • $\begingroup$ @vklidu: Robin will come in 5 mins with the perfect nodegroup and just need 2 nodes to create it ;) but i don't think the brick texture will help, because it doesn't output vectors....but i am curious. maybe Robins finds a way... $\endgroup$ – Chris Jun 12 at 11:32
  • $\begingroup$ But i think, it is also a good use case for python ;) So Batfinger is in the game ;) $\endgroup$ – Chris Jun 12 at 11:37
  • 1
    $\begingroup$ @Chris Brick texture node is commonly used UV shift (like for a plank floor) ... Just plug node between Texture coordinates and Image node to see a magic ... :) $\endgroup$ – vklidu Jun 12 at 13:22
  • $\begingroup$ @vklidu: ok, now the brick texture makes sense ;) buuuut it cannot do what OP wants...isn't it? $\endgroup$ – Chris Jun 12 at 14:01
9
$\begingroup$

Using default plane unwrapping the plane will be mapped 1:1 to the texture, so I multiply the coordinates so they go outside the boundaries. Then I apply modulo, to get a repeating 0..x range, where x is the the value in modulo node. To get spacing, use modulo > 1 to get some values outside the texture, and of course set "repeat" mode to "clip".

$\endgroup$
3
  • $\begingroup$ That was easy. Now i learnt that too ;) Great solution! $\endgroup$ – Chris Jun 12 at 12:50
  • 1
    $\begingroup$ Awesome ... pure frustration :) sometimes I feel like from a different planet. $\endgroup$ – vklidu Jun 12 at 13:18
  • $\begingroup$ @vklidu: nope, you aren't. They are....!!!! ;) $\endgroup$ – Chris Jun 12 at 14:02
1
$\begingroup$

You can achieve this by this (I didn't complete it, because I was too lazy):

Enter image description here

But you would have to copy the mapping + image node and mix node for every tile you need and adapt the x/y coordinate accordingly. Of course, you could also make a node group from this to make it easier to use and reduce some nodes. But Filip's suggestion is quicker...except you need this for hundreds of pictures. Then mine might be reasonable.

If it wasn't clear what I meant, here is the node tree for three tiles:

Enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ I'm considering downvoting you for laziness. :) $\endgroup$ – Markus von Broady Jun 12 at 12:14
  • $\begingroup$ NIKEEEEEEE -just do it!!! I deserve it!😀 $\endgroup$ – Chris Jun 12 at 12:23
  • 1
    $\begingroup$ @MarkusvonBroady buuuuut, with my solution I helped people to help themselves because they don‘t just copy it and it works but they have to think themselves and then really understand the solution. So maybe it is even better than a ready made solution 😎🤗 $\endgroup$ – Chris Jun 12 at 12:25

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.