Page 1 of 1

Randomize a specific value on multiple objects

Unread postPosted: Sat Nov 21, 2020 12:25 am
by david_grp
Hey guys!

Basically, I have a Clarisse scene with a lot of spotlights.

I would like to randomize the light intensity across all the lights, and also make sure that the intensity value stays between 0 and 5, for example.

I'm sure this is achievable by using an expression inside the intensity attribute, but I'm really unsure about it and the tutorial on expressions doesnt mention it.

Thanks guys!
David

Re: Randomize a specific value on multiple objects

Unread postPosted: Mon Nov 23, 2020 3:05 am
by david_grp
Got it! A simple rand(5, 10) in the attribute does the trick!

Cheers!