Maximum_Switch

Reference
Index

    Switches between two textures based on the maximum value of two other bump textures.

How Does It Work?

    Matching a color or percent channel to a complex bump pattern that has been created using the Maximum component is not always an easy process.  MAXIMUM SWITCH was designed to solve this problem.  MAXIMUM SWITCH compares the values of two bump textures, Switch A and Switch B. If the value of Switch A is greater than the value of Switch B, the Color A value is chosen, in the case of a color MAXIMUM SWITCH component.  If the value of Switch B is greater than the value of Switch A, the Color B value is chosen. This lets you assign different colors to regions of a bump created with Maximum. The percent and bump versions of MAXIMUM SWITCH work in the same manner.

    Use Thickness A and Thickness B to soften the transition between textures. A thickness of 100% will give you a hard edge.  Lower values will make the material look slightly transparent so you can see a little of the underlying material.  You will usually want to match the settings you are using for your bump Maximum.

Hints!

    Here's the process for using the MAXIMUM SWITCH component to color a bump created with Maximum. Using the same bump tree, delete the bump Maximum component and replace it with a color MAXIMUM SWITCH component.  Link the Switch A parameter of the MAXIMUM SWITCH to the bump texture that the Maximum Bump A parameter was linked to.  If the Maximum Bump A parameter was not linked to anything, set the Switch A parameter to the same value as Bump A.  Likewise, link the Switch B parameter to the texture that the Maximum Bump B parameter was linked to. If the Maximum Bump B parameter was not linked to anything, set the Switch B parameter to the same value as Bump B.

    Next, copy the bump component/subtree that Switch A is linked to and paste it as a color.  Link the Color_A parameter to this. Follow this process for Color_B.

Common Parameters

 

 

Switch A

One of the bump textures checked for maximum value.

 

 

Switch B

One of the bump textures checked for maximum value.

 

 

Thickness A

Decreasing Thickness A allows you to see the underlying shape of the B material as it gets close to A's height.

 

 

Thickness B

Decreasing Thickness B allows you to see the underlying shape of the A material as it gets close to B's height.

Color Component Parameters

 

 

Color A

Color used if Switch A > Switch B.

 

 

Color B

Color used if Switch A < Switch B.

Percent Component Parameters

 

 

Percent A

Percent used if Switch A > Switch B.

 

 

Percent B

Percent used if Switch A < Switch B.

Bump Component Parameters

 

 

Bump A

Bump used if Switch A > Switch B.

 

 

Bump B

Bump used if Switch A < Switch B.

Darkling Simulations
Copyright 1996-2003