Gradient map
The Gradient Map texture produces a gradient blend between colors. It accepts an input to determine how the gradient maps to the surface. In Figure 2, a gradient that goes from green to red connects to the Diffuse channel of an OctaneRender® material. OctaneRender maps the gradient using a Falloff map, resulting in the reddish color of the gradient being more visible on the edges of the surface that face away from the camera, and the green color appearing on the parts of the surface that face the camera. This node can be used in conjunction with the Gradient Generator node to create various gradient shapes such as radial or polygonal.
Figure 1: A Gradient map node colorizing a Marble texture
Figure 2: A Falloff map is mapping a colored gradient to a surface
Parameters
- Gradient Map - Determines the gradient's colors. Use the + and - buttons to add or remove gradient markers. Each new marker creates an arrow and a new color input option. You can place the color on different parts of the gradient by dragging the marker around.
- Interpolation type - Select Constant, Linear, or Cubic to determine the color-blending rate from one marker to the next.
- Interpolation color space - The color space in which colors are combined between control points. Physical uses scene-linear values and creates gradients that approximate optical effects in the real world. Perceptual uses the Oklab color space and creates gradients that vary smoothly to the human eye. Physical should be used for textures that contain non-color data, like normals.
- Input Texture - The texture used to address the gradient map.
- Start Value - Use the color swatches or RGB values to set the gradient's starting color.
- End Value - Use the color swatches or RGB values to set the gradient's ending color.