cables is under heavy development.
There might be one or another bug, please let us know about it!

RgbMath Op


Op author: pandur

Test Patches: 1 Test

apply simple mathematical functions on pixels color values

This OP enables you to use precise values to modify the pixels in your texture.
For example adjusting texture values that are modifying your geometry or array values, or even your post processing compositions.


Render (Trigger)
Operation index (integer /Number)

c-x: subtraction x from color value, x-c: subtract color value from x value, c*x: multiply color value by x, x/c: divide x value by color value, c/x: divide color value by x value, c%x: modulo operation on color value by modulus x of which the remainder is the result for your selected color channel

R Active (boolean /Number)
G Active (boolean /Number)
B Active (boolean /Number)
A Active (boolean /Number)
Texture (Object)
r (Number)
g (Number)
b (Number)
a (Number)
Multiply Texture (Number)
Mask (Object)


trigger (Trigger)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Mesh Instancer from Texture

Use a texture to position geometry instances in your scene.

Using HDR textures will alow for precise control.


cloned op from Ops.Gl.TextureEffects.RgbMultiply
2021-05-14 - pandur
Ops.User.pandur.RGBMath renamed to Ops.Gl.TextureEffects.RGBMath
2021-05-14 - pandur
Ops.Gl.TextureEffects.RGBMath renamed to Ops.Gl.TextureEffects.Math.RgbMath
2022-12-14 - pandur

Patches using RgbMath

  • Examples
  • My Patches
  • Public