Color To Vector

 
 
 

Render Tree Usage

Category: Processing > Conversion

Shader Family: Texture

Output: Vector

Converts the color output of one shader to vector information. This shader is commonly used to make an image or texture drive a displacement map (vector input). By default, the shader uses the red channel to drive the X axis, the green channel to drive the Y axis, and the blue channel to drive the Z axis. By default, the alpha channel doesn't contribute to the conversion.

Input

Defines the input color to convert to vector values. This can also be an image or texture.

Conversion Method

Defines how the color input is converted to vector values.

Direct Copy: The value of each color channel (RBG) is copied directly to the XYZ axes or UVW coordinates.

Normal Map: You can use the color input to drive the generation of a normal map.

Ouput Scaling

Scaling factor for the color input when being converted to vector values.

Render Tree Usage

This shader is placed between a Color output and a Vector input in order for the two values to connect.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License