How to make a procedural bricks material | Blender 4.0

In this tutorial, I will show you how to make a procedural bricks material using the shader nodes in Blender for your project.

Brick Texture

Make sure you have the Node Wrangler Add-on activated under the Preferences

In the Shading Workspace, I use SHIFT + A and add a Brick Texture Node

I connect the Color output of the Brick Texture Node to the Base Color input of the BSDF Shader

Notice that the brick texture is working on the top and bottom of the Cube, but it is stretched on the other sides of the Cube

I can fix this problem by using SHIFT + A and adding a Texture Coordinate

I connect the UV output from the Texture Coordinate Node to the Vector Input of the Brick Texture Node

This fixes the initial problem, but I am now left with very large bricks and the orientation is wrong on some of the faces

I can fix this by tabbing into Edit Mode, and use the U-key to open the UV Mapping Menu

Then I select “Cube Projection”

I now TAB back into Object Mode

I select a color for Color1 [#6D3137]

I select a color for Color2 [#B55B51]

I select a color for the Mortar [#909090]

To add texture to the bricks, I use SHIFT + A and add a Noise Texture Node

If I select the Noise Texture Node and use CTRL + SHIFT + LMB, I can see the Noise Texture

I can now change the Scale to around 300

I reconnect the Principled Shader to the Material Output using CTRL + SHIFT + LMB

I make a note of the brick colors I set up

I connect the Factor output of the Noise Texture to the Color1 and Color2 inputs of the Brick Texture

Now I can see the Noise Texture working but I have lost the color

I will add a Color Ramp Node between the Noise Texture Node and the Color2 of the Brick Texture

I select the White Color Stop and change the Color [#B55B51]

I use SHIFT + D to duplicate the Color Ramp and place it between the Noise Texture and the Color1 of the Brick Texture

I select the White Color Stop and change the Color [#6D3137]

To add some noise to the Mortar, I use SHIFT + D and duplicate the Noise Texture Node

I connect the Factor of the Noise Texture to the Mortar input of the Brick Texture

I add a Color Ramp between the Noise Texture and the Mortar

I change the Black Color Stop to a lighter gray

I can now move the White and Black Color Stops to adjust the Noise Texture

Now I need to add some Displacement to the Brick Texture

I add a Displacement Node using SHIFT + A and connect it to the Displacement input of the Material Output

I use SHIFT + A and add a Normal Map Node

I connect the Normal Map to the Normal input of the Displacement Node

I connect the Color output of the Brick Texture to the Color input of the Normal Map Node

I now change the strength of the Normal Map

Paint

To add some paint to the bricks, I use SHIFT + A and add a Voronoi Texture Node

I use CTRL + SHIFT + LMB to view the texture

I will change the Feature to Smooth F1 and the Scale to around 3

I select the Principled Shader and use CTRL + SHIFT + LMB to see the Brick Texture

I use SHIFT + A and add a Mix Shader

I connect the Voronoi Texture Color output to the A input and the Brick Texture to the B input

I then connect the Mix Shader to the Base Color of the Principled Shader

I use SHIFT + A and add a Color Ramp between the Voronoi Texture and the Mix Shader and change the Interpolation to Constant

I can now use the White Color Stop to determine how much of the Voronoi Texture will show

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.