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

RgbMathExpression Op

RgbMathExpression

Execute a glsl code math expression in a image compose


Variables

output: 'r','g','b' - this will be the resulting color value

input floats: 'x','y','z','w' uniform values you can connect to other operators.

input textures: 'texA','texB' - can be connected to textures. those are automatically read and are of type vec4


Edit Documentation

Full Name
  • Ops.Gl.ImageCompose.Math.RgbMathExpression
Visibility
  • Core Op - Official cables op
Author


 

INPUT PORTS


Render (Trigger)
R = (String)
G = (String)
B = (String)
Update Shader (Trigger)
x (Number)
y (Number)
z (Number)
w (Number)
texA (Object:texture)
texB (Object:texture)

OUTPUT PORTS


trigger (Trigger)

Usages of RgbMathExpression

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


cloned op from Ops.Gl.TextureEffects.RgbMultiplyuser avatarpandur - 2021-05-14
Ops.User.pandur.RGBMath renamed to Ops.Gl.TextureEffects.RGBMathuser avatarpandur - 2021-05-14
Ops.Gl.TextureEffects.RGBMath renamed to Ops.Gl.TextureEffects.Math.RgbMathuser avatarpandur - 2022-12-14
cloned op from Ops.Gl.TextureEffects.Math.RgbMathuser avatarpandur - 2023-03-16
renameOps.User.pandur.RgbExponentialMath renamed to Ops.Dev.RgbMathExpressionuser avatarpandur - 2023-03-16
renameOps.Dev.RgbMathExpression renamed to Ops.Gl.ImageCompose.Math.RgbMathExpressionuser avatarpandur - 2024-01-30