Creating our Group Input nodes
We will need a total of six Group Input nodes in this project. To do this, head to the Group menu by pressing N and search for the Group Sockets panel.
Once you are there, let’s add the following variables to your project:
- Brick Size X of the Float type
- Brick Size Y of the Float type
- Brick Size Z of the Float type
- Height of the Integer type
- Randomization Factor of the Float type
- Gap of the Float type
Once you have done that, this is what the list should look like:
Figure 11.7: The Group Sockets list
Let’s start implementing the variables into our node tree! Let’s start with the Brick Size variables.
To implement this, we’ll first need to split the inputs of the Cube node into its respective X, Y, and Z components. To do this, let’s plug a Combine XYZ node into the Size input of our Cube node.
Once you have done that, you can connect the variables...