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
License
  • MIT
Author


 

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