Material scale nodes

How do I scale these boxes down so they occupy a smaller part in the centre of this material?

I create a grid of 3x3 rounded boxes.

grid2

But then want to scale it down to create something like this:

grid3

And for the life of me I can’t figure it out. (And I can’t…don’t want to use textures, I’d like to build this material procedurally)

Usually scaling revolves around the Texture coordinates node, but any scaling I do there, before the rounded box node, will just create a 3x3 grid of scaled down rounded boxes, rather than a 3x3 grid of boxes scaled down (if that makes sense). No scaling nodes seem to accept an input that isn’t UV based. What am I missing?

Hi! This is a possible solution :smiley:

You can change the thickness of the border and the number of squares of the grid :sparkles:

2 Likes

YES! This does it exactly! I’m not entirely sure yet what is going on, but now I have this graph I know works I can try and figure it out. Thanks so much!!

2 Likes

You’re welcome :smile:
Glad it was helpful!

1 Like