r/Substance3D • • 4d ago

How can I make the bricks misaligned without them getting cut off?

What I have now is a simple directional warp with the brick mask mixed with a random grayscale in the directional warp. This setup is a start, but there are a couple issues with it. The bricks are getting cut off and this setup doesn't give rotation to the individual bricks

6 Upvotes

17 comments sorted by

3

u/jiggywatt64 4d ago

Use a distance node anytime you have something from floodfill to create a “padding” at shapes’ borders. Johnny nodes on YouTube uses this a lot in his videos.

1

u/Prizmek 4d ago

Does he do the rotation and offsetting of bricks in addition to adding this padding? Or is this mainly for just adding the padding? Any link to a video of johnny nodes where he does this?

1

u/typhon0666 4d ago

It will help you to do clean mask random offsets for the gaps via directional warps of the pavers, so it'll help reduce the issue you have in your video. (it doesn't eliminate the issue with the cut off edge appearing in the gap if you warp too much, but you get much more play with the warp and you could always daisy chain the method a bit and go as far as you needed)

( but question is how are you going to use the mask to make slight random rotations to individual pavers about their own respective pivots?, it's not a solved problem when you have a pattern already laid out starting this way> )

1

u/Prizmek 4d ago

I'll test this out. Really appreciate it.

1

u/Prizmek 4d ago

I'm confused as to what you did. You added the random offsetting from the weave generator node?

1

u/typhon0666 4d ago

No. The directional warps do that to the edge detect via the distance node being used as the intensity mask. The only different to what you were trying is that instead of using the flood fill to random greyscale (coming out of your RGBA split node) directly as the mask (which has the black gaps) is that the distance node is being used to expand the bricks edges (from the edge detect) to close up the gaps and then that is used in warps intensity mask.

But again it's going to be better to do this earlier in the graph/move the bevels etc after. Those are types of details and you have not even made the pattern or any workings masks to know where the edges of the pavers are until you make them have some random offsets (or rotations)

1

u/plaintextures 4d ago

This is wrong way of doing this.

1

u/pmurph0305 4d ago

What is the correct way?

2

u/plaintextures 3d ago

1

u/Prizmek 2d ago

I remember I tried something like this when I first started making this material but somewhere along the way this method didn't work for what I need, since I couldn't make the bricks shorter and still make the texture look proper

1

u/pmurph0305 3d ago

Ah of course, duh. That makes much more sense haha. Thanks for sharing!

2

u/typhon0666 4d ago

Easiest to do it when you create the pattern. Looks like you are multiple steps past the herringbone pattern well into things like the edge bevels of the pavers. In this case those things should come after you laid out the pattern imo, which would be how the pavers are placed, including a bit of randomness

Any flood fill, distance, edge detect you've done is going to be whacky to use later in the graph, because you are moving the pavers about after generating those, so any mask you built off them, like the paver gap/grout mask, isn't going to line up with your now modified paver position. So I think in this case you can just make the pattern first before detailing the pavers with bevels and getting correct masking.

1

u/Prizmek 4d ago

The pattern was made via a weave generator and an edge detect node. It wasn't made with the tile sampler.

1

u/NgonEerie 4d ago

Not the cleanest solution for a quick help. It works, but I am not happy with it bc im sure it's prone to breaking if tweaked.

I would recommend right clicking the weave gen node and select "open reference" and study it's base. That's how I got some ideas.

Also, as other people said, I highly recommend Jhonny Nodes in youtube, specially the FloodFill videos.

That's the extent I will go to help you brotha, ur on your own from here.

1

u/plaintextures 3d ago

You've been doing this for a while now. You've started wrong.

This is the correct way to do this. You can offset, rotate, resize etc. This will gives you variations you're looking for.

1

u/moonberri8 3d ago

There is no one correct way to do it

1

u/typhon0666 3d ago

how would you add a little random rotation to individual tiles of the herribone by not constructing the pattern with a shape and using a tile generation like the OP is asking to be able to do?

OP imo was in fact putting the cart before the horse by starting with a set pattern from the weave and then after the fact trying to add a bit of rotation to them after the pattern is created.