RgbMathExpression Op

RgbMathExpression

Execute a glsl code math expression in a image compose


<h3>Variables</h3> <p>output: <code>r</code>,<code>g</code>,<code>b</code> - this will be the resulting color value</p> <p>input floats: <code>x</code>,<code>y</code>,<code>z</code>,<code>w</code> uniform values you can connect to other operators.</p> <p>input textures: <code>texA</code>,<code>texB</code> - can be connected to textures. those are automatically read and are of type vec4</p>


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


INPUT PORTS


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

OUTPUT PORTS


trigger (Trigger)
code (String)

Patches using RgbMathExpression

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Gl.TextureEffects.Math.RgbMathuser avatarpandur - 2023-03-16 16:37
featureAdd parameter to set alpha channeluser avatarpandur - 2024-02-21 12:09