mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-02 17:50:19 +08:00
| .. | ||
| Brightness_and_Contrast_1.frag | ||
| Chromatic_Aberration_16.frag | ||
| Color_Adjustment_15.frag | ||
| Film_Grain_15.frag | ||
| Glow_30.frag | ||
| Hue_and_Saturation_1.frag | ||
| Image_Blur_1.frag | ||
| Image_Channels_23.frag | ||
| Image_Levels_1.frag | ||
| README.md | ||
| Sharpen_23.frag | ||
| Unsharp_Mask_26.frag | ||
| update_blueprints.py | ||
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
- Run
extractto pull current shaders from JSONs - Edit
.fragfiles - Run
patchto update the blueprint JSONs - Test
- Commit both
.fragfiles and updated JSONs