Select

Outputs the value selected from one of two input modules chosen by the output value from a selector module.

The selector module determines the value to select. If the output value from the control module is within a range of values known as the selection range, this noise module outputs the value from the module A. Otherwise, this noise module outputs the value from the module B.

By default, there is an abrupt transition between the output values from the two input modules at the selection-range boundary. To smooth the transition, pass a non-zero value to the edge falloff variable. Higher values result in a smoother transition.

Node inputs/outputs

The module’s constructor needs:

The output value is a Generation Module

Examples

Checkerboard as Module A 

Sine as Module B

Spheres as select module 

Result of the selection with bounds [-0.5;0.5] and a falloff of 0