-
Notifications
You must be signed in to change notification settings - Fork 50
Brick Brushes
Lachlan McDonald edited this page Jul 1, 2020
·
20 revisions
The Brick brushes generates alternating rows of randomly colored bricks.
There are two shaders,
bricksandbricks_vert, that are functionally identical except bricks are offset vertically forbricks_vertand horizontally forbricks.
|
|
bricks |
bricks_vert |
|---|
- Direction: Facing direction of the bricks
- Width: Width of the brick
- Height: Height of each brick
- Depth: Depth of each brick
-
Offset: Misalignment of bricks per row (a value of
0will determine the misalignment automatically) - Color A: First color index
- Color B: Last color index
-
Threshold: Likelihood of a brick being placed. The default of
1.0means all bricks are placed, and lower values will result in missing bricks
Brick colors are chosen at random between Color A and Color B. Setting either of the colors to 0 will also result in missing bricks.
![]() |
![]() |
Direction: 0
|
Direction: 1
|
|---|---|
![]() |
![]() |
Direction: 2
|
Direction: 3
|
![]() |
![]() |
Threshold: 1.0
|
Threshold: 0.8
|
|---|---|
![]() |
![]() |
Threshold: 0.6
|
Threshold: 0.4
|
All content in this wiki is licenced under the CC BY-NC-SA 4.0 license. Code snippets are dual-licenced under the MIT License.







