RgbMathExpression Op
Execute a glsl code math expression in a image compose
Summary (oneliner)
<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
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch example RgbMathExpression
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)