7
$\begingroup$

Using the Brick texture is it possible to have more than 2 solid colored bricks unmixed with the bias?

I have been putting a color ramp on the output of the texture node, at constant to get 2 colors. Is there a way to further split these into 3+ colors, to provide even more random colors?

I tried to apply Robin Betts solution, however if I do it that way, the noise texture effects the color smoothness, I added a color ramp, which seemed to help and put the noise texture onto a brick, but now the color smoothness is a grey outline around all the bricks. I would like it to be a black.

enter image description here

node layout with color ramp

enter image description here

node layout with color ramp results

enter image description here

results of node layout as per Robin Betts solution Below.

enter image description here

node layout Copied from Robin Betts Solution below

$\endgroup$
1
  • $\begingroup$ Please attach images to better explain your question $\endgroup$
    – WhatAMesh
    Jul 20, 2019 at 21:14

2 Answers 2

11
$\begingroup$

The Bricks node puts out a random-per-brick blend of the two input brick colors, biased at Bias = -1 to Color 1, and Bias = 1 to Color 2. So you can quantize the blend, and map it to colors, as much as you like:

enter image description here

enter image description here

I've added a tree which uses the range of colors to switch between completely different textures:

enter image description here

enter image description here

$\endgroup$
4
  • 1
    $\begingroup$ If i wanted to texture each colour separately how would i individualize them after the ramp? $\endgroup$ Jul 21, 2019 at 17:39
  • 1
    $\begingroup$ @NickSieben .. see edit.. but you're more likely to want to use the brick colors to control the location/scale of the lookup into a single image or procedural texture? In which case it would be simpler: you would add/multiply the output color with the Vector input of your single texture.. you could mix the color over the texture downstream.. or.. or.. all sorts of options. Maybe you need to be more specific, in another question. $\endgroup$
    – Robin Betts
    Jul 22, 2019 at 8:09
  • $\begingroup$ this helps alot thanks $\endgroup$ Jul 22, 2019 at 13:33
  • $\begingroup$ see my updated question, I'm getting different results than you $\endgroup$ Jul 22, 2019 at 14:32
1
$\begingroup$

Nick Sieben, try adjusting the first "greater than" value from zero to 0.2 as shown in Robin Betts answer. That will help with adjusting the color of the mortar.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .