Scalar Smooth Range

 
 
 

Category: Processing > Math

Shader Family: Texture

Output: Scalar

Isolates a range of color values from the input shader, image, or texture, and defines the scalar output values of colors within the range and outside of it.

Name

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

Invert

Inverts the input.

Inside Value

Specifies the scalar output value of input color values that fall within the component range.

Outside Value

Specifies the scalar output value of input color values that fall outside of the component range.

Minimum Delta

Input color values that fall between this value and the minimum threshold value are output as blend of the inside and outside values.

Minimum Threshold

The minimum value that the input can have before being out of range.

Input

Specifies the input value. Normally, this parameter is connected to a grayscale image.

Maximum Threshold

The maximum value that the input can have before being out of range.

Maximum Delta

Input color values that fall between this value and the maximum threshold value are output as blend of the inside and outside values.

Render Tree Usage

Used to connect any image clip or material to the input and define a range of values. Inside_value and outside_value parameters determine how areas of the input are affected when they are inside and outside the range. The result is output to a scalar value, and can be used to drive any scalar input parameter (diffuse, transparency, etc.)