Custom
Use Custom to create a custom node using GLSL code.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
src0 |
The image to apply the custom effects to. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
Type name |
TypeName |
Custom |
The node type. |
Enabled | Enabled | ticked | If unchecked, this node will be omitted from the compiled image processing graph. Any incoming connections will be forwarded to the first output port, if any. |
Label | Label | N/A | An optional label to display on the node. |
Parameters | |||
Reset parameters to default value using the reset icon: |
|||
Source code | SourceCode | void main() { dst0 = src0(); } | The GLSL source code used by the shader. |
Input ports | InputPorts | 1 | The number of input ports required by the node. An input can be accessed in the custom shader source using srcX(, where X is the zero-based index of the input. |
Output ports | OutputPorts | 1 | The number of output ports required by the node. An output can be accessed in the custom shader source using dstX0, where X is the zero-based index of the output. |