Isotropix Forums

Randomize a specific value on multiple objects

Clarisse related tips and tricks

Randomize a specific value on multiple objects

Unread postby david_grp » Sat Nov 21, 2020 12:25 am

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
david_grp
 
Posts: 7
Joined: Wed Jul 25, 2018 5:35 pm
Location: Montreal, Canada

Re: Randomize a specific value on multiple objects

Unread postby david_grp » Mon Nov 23, 2020 3:05 am

Got it! A simple rand(5, 10) in the attribute does the trick!

Cheers!
david_grp
 
Posts: 7
Joined: Wed Jul 25, 2018 5:35 pm
Location: Montreal, Canada


Return to Tips and Tricks
cron