Color Unary
 
 
 

Category: Processing > Math

Shader Family: Texture

Output: Color

Applies a single process to a single RGBA value.

Name

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

Input 1

Defines the first color, texture, or shader input.

Operation

Defines the operation the shader will use.

Absolute Value: Makes a value absolute. For example, a negative Red value is made positive.

Negate: Makes a positive value negative, and a negative value positive.

Invert: Inverts the RGBA values

Apply to Alpha

Uses an input alpha as RGB values.

Render Tree Usage

Used to connect a shader (texture, material, other math shader, etc.) to the Input parameter. Once a function is selected, the output can be used on any shader that accepts a color input.