Brick Texture Randomness

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
B.Y.O.B.
Developer
Posts: 3872
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Brick Texture Randomness

Post by B.Y.O.B. » 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.
Attachments
Screenshot from 2020-08-27 16-26-20.png
Screenshot from 2020-08-27 16-26-40.png
Screenshot from 2020-08-27 16-27-03.png

User avatar
Sharlybg
Donor
Posts: 2484
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Brick Texture Randomness

Post by Sharlybg » Thu Aug 27, 2020 3:54 pm

Awesome that is a welcome add :D !
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

jorari71
Posts: 10
Joined: Thu Aug 30, 2018 8:48 am

Re: Brick Texture Randomness

Post by jorari71 » Thu Aug 27, 2020 8:44 pm

THANK YOU!

juangea
Donor
Posts: 197
Joined: Thu Jan 02, 2020 6:23 pm

Re: Brick Texture Randomness

Post by juangea » Sat Aug 29, 2020 9:22 am

Super welcome addition!

Post Reply