Scalar To Boolean

 
 
 

| Render Tree Usage

Category: Processing > Conversion

Shader Family: Texture

Output: Boolean

Converts a scalar input value 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 scalar value (value between 0 and 1) to be converted to a Boolean value.

Threshold

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

Render Tree Usage

This shader is simply placed between a scalar 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