ComfyUI/blueprints
pythongosssss 96d6bd1a4a
Add GLSL shader node using PyOpenGL (#12148)
* adds support for executing simple glsl shaders
using moderngl package

* tidy

* Support multiple outputs

* Try fix build

* fix casing

* fix line endings

* convert to using PyOpenGL and glfw

* remove cpu support

* tidy

* add additional support for egl & osmesa backends

* fix ci
perf: only read required outputs

* add diagnostics, update mac initialization

* GLSL glueprints + node fixes (#12492)

* Add image operation blueprints

* Add channels

* Add glow

* brightness/contrast

* hsb

* add glsl shader update system

* shader nit iteration

* add multipass for faster blur

* more fixes

* rebuild blueprints

* print -> logger

* Add edge preserving blur

* fix: move _initialized flag to end of GLContext.__init__

Prevents '_vao' attribute error when init fails partway through
and subsequent calls skip initialization due to early _initialized flag.

* update valid ranges
- threshold 0-100
- step 0+

* fix value ranges

* rebuild node to remove extra inputs

* Fix gamma step

* clamp saturation in colorize instead of wrapping

* Fix crash on 1x1 px images

* rework description

* remove unnecessary f


Co-authored-by: Jedrzej Kosinski <kosinkadink1@gmail.com>
Co-authored-by: Hunter Senft-Grupp <hunter@comfy.org>
2026-02-19 23:22:13 -05:00
..
.glsl Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Brightness and Contrast.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Chromatic Aberration.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Color Adjustment.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Edge-Preserving Blur.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Film Grain.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Glow.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Hue and Saturation.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Image Blur.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Image Channels.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Image Levels.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
put_blueprints_here add blueprints dir for built-in blueprints (#11853) 2026-01-13 16:14:40 -08:00
Sharpen.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00
Unsharp Mask.json Add GLSL shader node using PyOpenGL (#12148) 2026-02-19 23:22:13 -05:00