Skip to content

GLSL glueprints + node fixes#12492

Merged
comfyanonymous merged 21 commits intopysssss/basic-glsl-shader-node-glfwfrom
pysssss/glsl-blueprints
Feb 20, 2026
Merged

GLSL glueprints + node fixes#12492
comfyanonymous merged 21 commits intopysssss/basic-glsl-shader-node-glfwfrom
pysssss/glsl-blueprints

Conversation

@pythongosssss
Copy link
Member

  • Fragment/blueprint updating script
  • Adds various image operations using GLSL shaders
  • Node fixes
  • Better tooltips/descriptions
  • Add multipass support

@christian-byrne christian-byrne added the Core Core team dependency label Feb 16, 2026
@comfyanonymous comfyanonymous merged commit 31a5e53 into pysssss/basic-glsl-shader-node-glfw Feb 20, 2026
8 checks passed
comfyanonymous pushed a commit that referenced this pull request Feb 20, 2026
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Core team dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants