Page 1 of 1

Random Node - How it properly works?

Posted: Thu Jul 16, 2020 9:55 pm
by Snowcarver
This is the question.

Luxcore:
Luxcore.PNG
Cycles:
Cycles.PNG

Re: Random Node - How it properly works?

Posted: Thu Jul 16, 2020 11:43 pm
by Shantarli
You need 2 materials with different seed, another way will be use Object ID node

Re: Random Node - How it properly works?

Posted: Fri Jul 17, 2020 12:13 am
by B.Y.O.B.
The "Random" node is a random number generator. The input value is mapped to a pseudo-random output depending on the seed and the input value. So you need to plug something random in to get something random out.

In short: it is not the right node for what you want to do.
As Shantarli said, use the Object ID node in "normalized" mode instead (it can be found in the "Utils" category). In LuxCore, object IDs are by default assigned randomly, so they can be used to get a random value per object as long as you don't set an object ID manually.

Re: Random Node - How it properly works?

Posted: Fri Jul 17, 2020 5:00 am
by Snowcarver
Shantarli wrote: Thu Jul 16, 2020 11:43 pm You need 2 materials...
B.Y.O.B. wrote: Fri Jul 17, 2020 12:13 am The "Random" node is a random number generator...
Big Thanks! I`ll try.

UPD:
Random.PNG
Excellent, it works, just what I need! Thank You very much!