Material Manager Material Nodes Individual Assets Math Box Step
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Box Step

Preview Basic Inputs Outputs

Inputs

Data Type

Here you can define the data type for the input value, the Edge 1 and Edge 2 settings and the Result type. You can select from Float for float comma values or from vector formats Color, Vector2D or Vector4D.

Value [-∞..+∞]

Here you can input the number or vector values you want to check into the Node. If this value lies between the Edge 1 and Edge 2 values (with Edge 2 larger than Edge 1), a Result value will be calculated using the formula (value-Edge 1)/(Edge 2) – Edge 1). If the value is greater than the Edge 1 and Edge 2 values, 1 will always be output. If the value is smaller than the Edge 1 and Edge 2 values, 0 will always be output.

Edge 1 [-∞..+∞]
Edge 2 [-∞..+∞]

These are the edge values between which a percentage value for the input value can be calculated. If the input value lies outside of these settings’ defined values, either a 0 (if the value is smaller) or 1 (if the value is larger) will be output.