ComfyUI/blueprints/.glsl
pythongosssss bb048d4aaa more fixes
2026-01-31 16:30:10 -08:00
..
Brightness_and_Contrast_1.frag shader nit iteration 2026-01-31 16:03:47 -08:00
Chromatic_Aberration_16.frag more fixes 2026-01-31 16:30:10 -08:00
Color_Adjustment_15.frag shader nit iteration 2026-01-31 16:03:47 -08:00
Film_Grain_15.frag shader nit iteration 2026-01-31 16:03:47 -08:00
Glow_30.frag more fixes 2026-01-31 16:30:10 -08:00
Hue_and_Saturation_1.frag shader nit iteration 2026-01-31 16:03:47 -08:00
Image_Blur_1.frag add multipass for faster blur 2026-01-31 16:30:00 -08:00
Image_Channels_23.frag more fixes 2026-01-31 16:30:10 -08:00
Image_Levels_1.frag add glsl shader update system 2026-01-31 13:48:59 -08:00
README.md add glsl shader update system 2026-01-31 13:48:59 -08:00
Sharpen_23.frag add glsl shader update system 2026-01-31 13:48:59 -08:00
Unsharp_Mask_26.frag more fixes 2026-01-31 16:30:10 -08:00
update_blueprints.py add glsl shader update system 2026-01-31 13:48:59 -08:00

GLSL Shader Sources

This folder contains the GLSL fragment shaders extracted from blueprint JSON files for easier editing and version control.

File Naming Convention

{Blueprint_Name}_{node_id}.frag

  • Blueprint_Name: The JSON filename with spaces/special chars replaced by underscores
  • node_id: The GLSLShader node ID within the subgraph

Usage

# Extract shaders from blueprint JSONs to this folder
python update_blueprints.py extract

# Patch edited shaders back into blueprint JSONs
python update_blueprints.py patch

Workflow

  1. Run extract to pull current shaders from JSONs
  2. Edit .frag files
  3. Run patch to update the blueprint JSONs
  4. Test
  5. Commit both .frag files and updated JSONs