ComfyUI Node
Shadertoy
A ComfyUI node in Audio Reactor with 9 inputs and 1 output.
Shadertoy
- channel_0
- channel_1
- channel_2
- channel_3
- IMAGE
◄width512►
◄height512►
◄frame_count1►
◄fps1►
◄source
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
// Normalized pixel coordinates (from 0 to 1)
vec2 uv = fragCoord/iResolution.xy;
// Time varying pixel color
vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
// Output to screen
fragColor = vec4(col,1.0);
}
►
CategoryAudio Reactor
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 51264–16384 | — |
| height | INT | 51264–16384 | — |
| frame_count | INT | 11–262144 | — |
| fps | INT | 11–120 | — |
| source | STRING | void mainImage( out vec4 fragColor, in vec2 fragCoord ) { // Normalized pixel coordinates (from 0 to 1) vec2 uv = fragCoord/iResolution.xy; // Time varying pixel color vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4)); // Output to screen fragColor = vec4(col,1.0); } | — |
| channel_0opt | IMAGE | — | |
| channel_1opt | IMAGE | — | |
| channel_2opt | IMAGE | — | |
| channel_3opt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |