Brick Texture Randomness
Posted: Thu Aug 27, 2020 2:32 pm
I have modified the brick texture so the individual bricks have a pseudo-random mix between two colors by default.
Before, we had "bricktex" and "brickmodtex", but the resulting brick color would just be bricktex * brickmodtex, which was quite nonsensical since you could achieve the same with a multiply texture plugged into the bricktex slot.
Now, for each brick a pseudo-random value between 0 and 1 is picked, and based on that, the result is a mix of bricktex and brickmodtex. The result can be biased toward the first or the second texture. With bias = -1 or bias = 1, randomness is eliminated again.
Before, we had "bricktex" and "brickmodtex", but the resulting brick color would just be bricktex * brickmodtex, which was quite nonsensical since you could achieve the same with a multiply texture plugged into the bricktex slot.
Now, for each brick a pseudo-random value between 0 and 1 is picked, and based on that, the result is a mix of bricktex and brickmodtex. The result can be biased toward the first or the second texture. With bias = -1 or bias = 1, randomness is eliminated again.