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.
doc
issues
example patch id
youtube ids (comma seperated)
caniuse query
collections
Inputs
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)
r (Number)
g (Number)
b (Number)
a (Number)
Mask (Object)
Outputs
trigger (Trigger)
Patches using RgbMath
Changelog
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 |