🎉 Welcome to the Mirage Renderer Docs Beta.

Math Nodes
Divide

Divide

Divides A to B

Inputs

  1. A: Value1 (float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]
  2. B: Value2 (cannot be 0) (float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]

Outputs:

  1. Out: A/B (float, int, Vector2, Vector2Int, Vector3, Vector3Int, Vector4)[]-[][]-[][][]-[][][][]

Remarks:

If one of the values is scalar and the other is an array, scalar will act like a matching structure array filled with its scalar value. If value types don’t match, smaller type of value will be converted to bigger type (ex: A: (1,2), B(1.1f, 2.3f, 3.9f); A=>(1f, 2f, 0f)

Example

Divide node example