RgbMath Op
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.
- Ops.Gl.ImageCompose.Math.RgbMath
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Mesh Instancer from Texture
INPUT PORTS
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
OUTPUT PORTS
Patches using RgbMath
Changelog
cloned op from Ops.Gl.TextureEffects.RgbMultiply | pandur - 2021-05-14 14:10 | |
Ops.User.pandur.RGBMath renamed to Ops.Gl.TextureEffects.RGBMath | pandur - 2021-05-14 15:13 | |
Ops.Gl.TextureEffects.RGBMath renamed to Ops.Gl.TextureEffects.Math.RgbMath | pandur - 2022-12-14 08:53 | |
rename | Ops.Gl.TextureEffects.Math.RgbMath renamed to Ops.Gl.ImageCompose.Math.RgbMath | stephan - 2023-12-06 10:28 |