ComfyUI Node
Custom Shader
A ComfyUI node in image/postprocessing with 23 inputs and 3 outputs.
Custom Shader
- texture_0
- mask_0
- texture_1
- mask_1
- texture_2
- mask_2
- texture_3
- mask_3
- images
- mask
- help
◄frames1►
◄output_size▾►
◄width1024►
◄height1024►
◄v00.0000►
◄v10.0000►
◄v20.0000►
◄v30.0000►
◄v40.0000►
◄v50.0000►
◄fragment_codevoid main() {
vec2 uv_text = gl_FragCoord.xy/u_resolution.xy;
gl_FragColor = texture(texture_0,uv_text);
}►
◄sampling▾►
◄border▾►
◄timefactor1.000►
◄shadertoyfalse►
Categoryimage/postprocessing
Inputs (23)
| Name | Type | Default | Description |
|---|---|---|---|
| frames | INT | 11–9999 | — |
| output_size | COMBO | 5 options: Custom, texture_0, texture_1, texture_2, texture_3 | |
| width | INT | 10241–65536 | — |
| height | INT | 10241–65536 | — |
| v0 | FLOAT | 0.0000-65536–65536 | — |
| v1 | FLOAT | 0.0000-65536–65536 | — |
| v2 | FLOAT | 0.0000-65536–65536 | — |
| v3 | FLOAT | 0.0000-65536–65536 | — |
| v4 | FLOAT | 0.0000-65536–65536 | — |
| v5 | FLOAT | 0.0000-65536–65536 | — |
| fragment_code | STRING | void main() { vec2 uv_text = gl_FragCoord.xy/u_resolution.xy; gl_FragColor = texture(texture_0,uv_text); } | — |
| sampling | COMBO | 2 options: LINEAR, NEAREST | |
| border | COMBO | 4 options: REPEAT/REPEAT, CLAMP/CLAMP, CLAMP/REPEAT, REPEAT/CLAMP | |
| timefactor | FLOAT | 1.000-65536–65536 | — |
| shadertoy | BOOLEAN | false | — |
| texture_0opt | IMAGE | — | |
| mask_0opt | MASK | — | |
| texture_1opt | IMAGE | — | |
| mask_1opt | MASK | — | |
| texture_2opt | IMAGE | — | |
| mask_2opt | MASK | — | |
| texture_3opt | IMAGE | — | |
| mask_3opt | MASK | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| mask | MASK | — |
| help | STRING | — |