Color in noise

   2126   1   1
User Avatar
Member
62 posts
Joined: Oct. 2007
Offline
can i add color or other stuff to the diferent cells of a worley pattern?

or add a random value to one or all colors of a ramp based on the worley cell … ?
how would i go about this?
Janko Kissel
Maya & Houdini Smoke and Demolition VFX-Artist
http://vimeo.com/heavyatvimeo [vimeo.com]
https://www.youtube.com/user/masterheavyone/videos [youtube.com]
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
You would basically put this into a pointwrangle:

float f1, f2, f3, f4;
int seed;
wnoise(@P * 11, seed, f1, f2, f3, f4);
@Cd = rand(seed);

The trick is grabbing the seed. From the documentation:
seed
Outputs an integer value associated with the nearest seed point. This seed is pretty much guaranteed to be unique for every point (meaning that it’s unlikely that two points close by have the same seed associated with them).
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links