3
$\begingroup$

enter image description here

how can I make a kerpich texture so that it reflects correctly?


enter image description here

For some reason, this method does not work. I want to arrange the texture in geo nodes, not in materials. is it possible? maybe I connected something wrong?

enter image description here

enter image description here

$\endgroup$

2 Answers 2

4
$\begingroup$

Chris's answer uses a Cube node, that provides the UV Map for you. I imagine what he wanted to show with his example is what to do when you have a geometry without UV provided (or if you want to experiment with the "UV Unwrap" node). But for the primitives with "UV Map" output socket, you simply need to store it as your UVMap attribute:

You also no longer need to access this UV Map as a general attribute, you can access it as a UV map, which is used by default, and therefore I disconnected the leftmost node to show it's not necessary:

Except... It's a little bit buggy currently 😜 so you need to do something silly in geonodes to... I don't know... Refresh it?

P.S. Oh, right, I used a color grid texture in the file, but in principle it's the same for brick texture - except the brick texture by default uses "Generated" coordinate, so you do need to connect the leftmost node (UV Map node)

$\endgroup$
3
  • $\begingroup$ thanks for the reply) but I can't get the texture of the brick to be positioned correctly ( $\endgroup$
    – Andrey Re
    Feb 5 at 15:49
  • $\begingroup$ [3]: i.stack.imgur.com/Y6l1p.png $\endgroup$
    – Andrey Re
    Feb 5 at 15:55
  • $\begingroup$ @AndreyRe you simply don't have enough geometry to store the brick texture on it - you need to subdivide the cube heavily to get the effect you're going for. This is precisely why uv maps exist - so the drawing can be done in shader, not geometry. $\endgroup$ Feb 5 at 16:06
3
$\begingroup$

this depends always on your geometry. But for a cube you can use this node setup:

enter image description here

$\endgroup$

You must log in to answer this question.

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