Skip to content

Color Ramp Sampler

MaximeHerpin edited this page Apr 6, 2018 · 1 revision

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:

sampler1

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.

sampler2

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.

sampler3

And here is the result on the material:

sampler4

Clone this wiki locally