Color2scalar

| Render Tree Usage

Shader Type: Conversion (Tool)

Output: Scalar value

 

This shader is no longer supported. Scenes using it will still load, but it is recommended that you use the newer Color to Scalar shader.

Converts a color (RGB or RGBA) to a single channel.

When alpha is off: (R+G+B)/3

When alpha is on: (R+G+B+A)/4

Name

The shader’s name. Enter any name you like, or leave the default.

Input

Specifies the input color to be converted to a scalar value (value between 0 and 1).

Alpha

Includes the alpha channel in the conversion.

Render Tree Usage

This shader is simply placed between a color output and a scalar input in order for the two values to connect.



Autodesk Softimage v.7.5