cables is under heavy development.
There might be one or another bug, please let us know about it!
apply simple mathematical functions on pixels color values

summary (oneliner)

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.



youtube id


related ops


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

Operation (String)

R Active (boolean /Number)

G Active (boolean /Number)

B Active (boolean /Number)

A Active (boolean /Number)

r (Number)

g (Number)

b (Number)

a (Number)


trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save



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

Examples using RGBMath

Public Patches using RGBMath