Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Brick Procedural generates an infinite brick pattern with custom control over the random distribution of the bricks, their offset and their texture, that can be used as a color texture or in grey scale as a bump, displacement, weight map or mask texture. 

...

For each individual brick, the procedural picks a fraction of the given texture and can even apply a random rotation to the texture (in increments of 90 degrees) so it avoids getting unnatural regular patterns and texture repetitions. 

 

Center

Examples of the Brick procedural in use, applied both as color texture, bump texture and as a displacement map to reproduce bricks (left), concrete tiles (middle) and pool tiles (right)

 

Brick Procedural parameters 

...

  • Mortar Thickness: Defines the width in meters of the mortar between bricks. 
  • Mortar Color: Sets the color for the mortar. 
  • Mortar Texture: Sets the texture to be used for the mortar. 

...

Center

The Brick procedural parameters panel

 

Getting seamless bricks

In order to remove the seem, the trick is the following:

Imagine the whole UV space is 1 and you want 8 bricks per row plus a small gap for the mortar, you should make the size of the brick of 1/8 (you can actually type 1/8 in the Brick Width box), so it will be 0.125. That alone will make the brick seamless if the mortar size is 0, but if you want to add some space for the mortar you will have to take it away from the brick size.

For example, if you want to make the mortar 0.001, the brick size would be 0.124 (0.125 - 0.001) or if you want to make the mortar width 0.01, then the brick would be 0.115 (0.125 - 0.01)