Thalie Posted March 31, 2009 Share Posted March 31, 2009 Dear all!! I'm trying to get an expression in order to color randomly the particles in light brown, dark brown, very dark brown and a little bordeaux tints! In the shader, I was trying to guess what kind of rand($PT) expression could work, but couldn't find any correct one! to this picture, I would like to give a feeling of sand! what would be your advice! Tx all Quote Link to comment Share on other sites More sharing options...
Ezz Posted March 31, 2009 Share Posted March 31, 2009 (edited) Hello. Just quick out of my heard!!! I think its possible to pipe your particles through a VOPSOP. Inside there you can create a RGB to HSV conversion and then make a random on the V (value). Remember to make a HSV to RGB before piping it back to your globals. Hope it helps Erik duckling Edited March 31, 2009 by Ezz Quote Link to comment Share on other sites More sharing options...
Thalie Posted April 1, 2009 Author Share Posted April 1, 2009 Tx Erik! that's ace!! best regards, Tal Quote Link to comment Share on other sites More sharing options...
Div Posted April 1, 2009 Share Posted April 1, 2009 Just to give you another solution, you could append to your particles a color node, inside your pop network, then inside it choose ramp, set your colors and add to the lookup value the expression rand($ID).... Quote Link to comment Share on other sites More sharing options...
pclaes Posted April 1, 2009 Share Posted April 1, 2009 Just to give you another solution, you could append to your particles a color node, inside your pop network, then inside it choose ramp, set your colors and add to the lookup value the expression rand($ID).... Better to do the lookup with a vop sop after the particle network - outside of the particle network - that way if you want to change the color you don't have to resimulate the particles. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.