Threshold

Reference
Index

    Switches between two textures based on a third texture and a threshold value.

How Does It Work?

    THRESHOLD switches between the "A" and "B" parameters (color/percent/bump) based on the Threshold value and a Sample texture. If the value of the Sample texture is less than the Threshold value, parameter "A" is chosen.  If the value of the Sample texture is greater than the Threshold value, parameter "B" is chosen.

    For color THRESHOLD components the value (HSV) of the Sample texture is compared with the Threshold. For percent and bump THRESHOLD textures, the value of the Sample texture is used directly.

    THRESHOLD is useful for "splitting" a texture into two regions.  Adjusting the Threshold parameter determines where this "split" occurs.

Hints!

    THRESHOLD can be useful for creating complex clip or cookie-cut maps from another texture. Set the "A" parameter to white and the "B" parameter to black in a color or percent THRESHOLD component. Link the Sample parameter to the texture you would like to create the clip/cut map for.  Adjust the Threshold value until you get the regions you desire.

Common Parameters

 

 

 

 

Invert

Reverses the A and B values.

Color Component Parameters

 

 

Threshold

The threshold value compared against the value (HSV) of the Sample color.

 

 

Sample

The color value compared against the threshold.

 

 

Color A

Color picked when the sample is less than the Threshold.

 

 

Color B

Color picked when the sample is greater than the Threshold.

Percent Component Parameters

 

 

Threshold

The threshold value compared against Sample.

 

 

Sample

The percent value compared against the threshold.

 

 

Color A

Percent picked when the sample is less than the Threshold.

 

 

Color B

Percent picked when the sample is greater than the Threshold.

Bump Component Parameters

 

 

Threshold

The threshold value compared against Sample.

 

 

Sample

The bump value compared against the threshold.

 

 

Color A

Bump picked when the sample is less than the Threshold.

 

 

Color B

Bump picked when the sample is greater than the Threshold.

Darkling Simulations
Copyright 1996-2003