ComfyUI Node

xShader

A ComfyUI node in MKRShift Nodes/Utility/Shader with 9 inputs and 3 outputs.

By criskb·Created 6 months ago·Updated 4 months ago· 0
xShader
  • image
  • image
  • shader_info
  • video
shader_languageGLSL
shader_codevec4 base = texture(srcTex, uv); vec2 p = uv * 2.0 - 1.0; float vignette = smoothstep(1.2, 0.2, length(p)); vec3 graded = base.rgb * vec3(1.04, 1.00, 0.96); return vec4(graded * vignette, base.a);
time0.00
time_modeconstant
time_step0.0417
strength1.00
video_fps24
fallback_on_errortrue
CategoryMKRShift Nodes/Utility/Shader

Inputs (9)

NameTypeDefaultDescription
imageIMAGE
shader_languageCOMBOGLSL2 options: GLSL, HLSL
shader_codeSTRINGvec4 base = texture(srcTex, uv); vec2 p = uv * 2.0 - 1.0; float vignette = smoothstep(1.2, 0.2, length(p)); vec3 graded = base.rgb * vec3(1.04, 1.00, 0.96); return vec4(graded * vignette, base.a);
timeFLOAT0.00-100000–100000
time_modeCOMBOconstant2 options: constant, per_frame
time_stepFLOAT0.0417-1000–1000
strengthFLOAT1.000–2
video_fpsINT241–240
fallback_on_erroroptBOOLEANtrue

Outputs (3)

NameTypeDescription
imageIMAGE
shader_infoSTRING
videoMKR_VIDEO