2
$\begingroup$

This question already has an answer here:

In the nodes we use checker texture and it creates checker (square) pattern. Is there anyway to have some circle, or polygon type of pattern. Any suggestion or help. Thanks

enter image description here

$\endgroup$

marked as duplicate by cgslav, batFINGER, p2or, Duarte Farrajota Ramos, m.ardito Sep 30 '18 at 7:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ What about voronoi? $\endgroup$ – miceterminator Sep 23 '18 at 7:12
  • $\begingroup$ @miceterminator i want circle or poly shape other than the square or checker pattern $\endgroup$ – atek Sep 23 '18 at 7:20
  • 1
    $\begingroup$ The third image in this answer blender.stackexchange.com/a/99462/29586 shows a method of generating a repeating circle texture using maths nodes. If this fits the bill I can add an answer based on that. Note that the linked answer is based on compositor nodes but the maths will translate into shader nodes. $\endgroup$ – Rich Sedman Sep 23 '18 at 7:40
  • $\begingroup$ To make any kind of repeating pattern, you might be best off creating a tile-able image $\endgroup$ – gandalf3 Sep 24 '18 at 3:50
5
$\begingroup$

You can manipulate the coordinates of any texture. The coordinates are like gradients going from 0 to infinity in x, y and z axis in positive and negative(from 0 to negative infinity) directions. You can separate them and then you can repeat a part of each one using maths - modulo operation in this case and compensating for the 'intensity' apropriatley. You can then draw a circle by taking a section of a spcherical gradiant with 'greater than' maths operation. This might make more sense if you have a look at the nodes:

enter image description here enter image description here

Here is the .blend file:

Other shapes get more complicated, however you can construct whatever shapes you imagine using math and existing nodes. If you are interested, you can have a look at this other example with pentagons. Obviously, there are many ways to make patterns with pentagons and since you have not specified what you want exactly, this is just an example that might help you come up with a way to achieve what you need:

enter image description here

It might be a lot easier to draw shapes in an image editor or render them out with Blender to use as image textures instead of choosing the procedural way. It is possible to mix bitmap images with procedural textures any way you wish as well.

$\endgroup$
  • $\begingroup$ Looks good with the circle its ok. But how with the penta shape. (a question) cube has only green and orange why you have the black background. Thanks for the reply $\endgroup$ – atek Sep 23 '18 at 15:17
  • $\begingroup$ No reason, you can make the background any color. You can use ColorRamp to recolor it. $\endgroup$ – Martin Z Sep 23 '18 at 15:54
  • $\begingroup$ I updated the answer with an example using a pentagon. $\endgroup$ – Martin Z Sep 23 '18 at 17:29
2
$\begingroup$

The "Magic" texture is one of the most "ordered" ones, so I would use it to start:

a node layout like this one:

enter image description here

yields this result:

enter image description here

There are several settings you can play with for creative results:

enter image description here

Note that the circles here are not exactly circles!

$\endgroup$

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