Color To Boolean

 
 
 

| Render Tree Usage

Category: Processing > Conversion

Shader Family: Texture

Output: Boolean

Converts a color (RGBA) input to a Boolean output value which can be used to drive other shaders' parameters.

Name

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

Input

Specifies the input color to be used. You can select from the RGB, HLS, or HSV color models.

Threshold

The color input necessary for this shader to output a "true" value. Anything below this threshold value returns "false".

Alpha

Includes alpha channel in the conversion. When off, the alpha channel is not included.

Render Tree Usage

This shader is simply placed between a color output and a Boolean 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