-
Notifications
You must be signed in to change notification settings - Fork 217
Color Ramp Sampler
The color ramp sampler is a tool that helps fill a color ramp node with colors from an image. This is useful when coloring a black and white texture, usually when creating procedural materials.
Lets consider this very simple material:
We want to colorize the noise texture to give some life to our material. First lets plug a color ramp node between the noise and the emission node, and select it. Then open an image with the Image editor, and go to the tree category in the tool panel where you can find the color ramp sampler operator.
Click on the operator button, then move the cursor to where you want to start sampling colors. Then, hold the left mouse button, and start moving the mouse over the image. A path is traced, and at some point it may stop, this is because the max number of points has been added. Release the left mouse button, and the selected color ranp node should now have the colors you moved over.
And here is the result on the material: