ComfyUI Node

Custom Shader

A ComfyUI node in image/postprocessing with 23 inputs and 3 outputs.

By Quasimondo·Created 2 years ago·Updated about a year ago· 15
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)

NameTypeDefaultDescription
framesINT11–9999
output_sizeCOMBO5 options: Custom, texture_0, texture_1, texture_2, texture_3
widthINT10241–65536
heightINT10241–65536
v0FLOAT0.0000-65536–65536
v1FLOAT0.0000-65536–65536
v2FLOAT0.0000-65536–65536
v3FLOAT0.0000-65536–65536
v4FLOAT0.0000-65536–65536
v5FLOAT0.0000-65536–65536
fragment_codeSTRINGvoid main() { vec2 uv_text = gl_FragCoord.xy/u_resolution.xy; gl_FragColor = texture(texture_0,uv_text); }
samplingCOMBO2 options: LINEAR, NEAREST
borderCOMBO4 options: REPEAT/REPEAT, CLAMP/CLAMP, CLAMP/REPEAT, REPEAT/CLAMP
timefactorFLOAT1.000-65536–65536
shadertoyBOOLEANfalse
texture_0optIMAGE
mask_0optMASK
texture_1optIMAGE
mask_1optMASK
texture_2optIMAGE
mask_2optMASK
texture_3optIMAGE
mask_3optMASK

Outputs (3)

NameTypeDescription
imagesIMAGE
maskMASK
helpSTRING