RgbMath Op
apply simple mathematical functions on pixels color values
Summary (oneliner)
<p>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.</p>
- 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
Use a texture to position geometry instances in your scene.
Using HDR textures will alow for precise control.
INPUT PORTS
<i>integer</i>
)<p>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</p>
<i>boolean</i>
)<i>boolean</i>
)<i>boolean</i>
)<i>boolean</i>
)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 |