From BlenderWiki
| 2.6 Work in Progress | |
| Please don't edit 2.6 manual "Material" pages until further notice. (sculptorjim, 01/01/2013) |
Page status (reviewing guidelines)
Copy
This page is a copy of the same page in 2.4 manual, need to be updated
Partial page
|
Material Convertor Nodes
As the name implies, these nodes convert the colors in the material in some way.
ColorRamp Node
The ColorRamp Node is used for mapping values to colors with the use of a gradient. It works exactly the same way as a Colorband for textures and materials, using the Factor value as a slider or index to the color ramp shown, and outputting a color value and an alpha value from the output sockets.
By default, the ColorRamp is added to the node map with two colors at opposite ends of the spectrum. A completely black black is on the left (Black as shown in the swatch with an Alpha value of 1.00) and a whitewash white is on the right. To select a color, LMB
click on the thin vertical line/band within the colorband. The example picture shows the black color selected, as it is highlighted white. The settings for the color are shown above the colorband as (left to right): color swatch, Alpha setting, and interpolation type.
To change the hue of the selected color in the colorband, LMB
click on the swatch, and use the popup color picker control to select a new color. Press ↵ Enter to set that color.
To add colors, hold Ctrl down and LMB
click inside the gradient. Edit colors by clicking on the rectangular color swatch, which pops up a color-editing dialog. Drag the gray slider to edit Alpha values. Note that you can use textures for masks (or to simulate the old "Emit" functionality) by connecting the alpha output to the factor input of an RGB mixer.
To delete a color from the colorband, select it and press the Delete button.
When using multiple colors, you can control how they transition from one to another through an interpolation mixer. Use the interpolation buttons to control how the colors should band together: Ease, Cardinal, Linear, or Spline.
Use the A: button to define the Alpha value of the selected color for each color in the range.
RGB to BW Node
This node converts a color image to black-and-white.
Connecting Output Socket
When you connect the output Val socket to an input socket that excepts an Image, Blender automatically inserts a ColorRamp node, to translate the output value to a material color.
|
Math
Vector Math
Squeeze Value
Separate RGB
Combine RGB

