A real-time GLSL fragment shader editor with automatic uniform detection and visual interface generation.
Download on itch.io
- Built-in syntax-highlighted GLSL editor with Ctrl+S to save and hot-reload instantly (external files hot-reload on change too)
- Built-in AI copilot (chat with an LLM that edits your shaders, sees compile errors the moment they happen, creates nodes, tweaks uniforms, renders previews, and can publish for you; every risky action waits for your confirm, any turn is one-click revertable, bring your own OpenRouter key)
- Automatic uniform detection from shader code with UI generation
- Support for various uniform types: vectors, colors, textures, arrays, and text
- Reusable shader library: ships with a built-in
SB_*standard library (SDF shapes & ops, noise, draw helpers, a full text stack) and grows with your own helpers; call them by name from any shader, no#includeboilerplate;Ctrl+Pto fuzzy-search, preview, insert, and manage your library files - Image and video texture inputs
- Built-in SDF segment-glyph text rendering: Latin + Cyrillic, auto-fit, per-character access
- Export rendered shaders to images, videos, Telegram sticker sets, or YouTube (long-form or Shorts, your own account)
- Keyboard-first control: rebindable chord shortcuts, command palette, full focus navigation
- Gruvbox UI
ShaderBox automatically analyzes your GLSL code and creates appropriate UI controls for uniforms, making it easy to experiment with parameters in real-time. The editor handles texture loading, uniform management, and rendering output automatically.
ShaderBox ships with an in-app coding copilot: a chat panel where you ask for a shader in plain language and an LLM does the work against your real project. It is not a code-suggestion box bolted on the side, it drives the same engine you do.
What makes it different is the feedback loop. The copilot edits a shader, the engine recompiles it in-process, and the compile errors (or the clean result) come straight back to the model at the exact line, so it fixes its own mistakes instead of handing you broken GLSL. It works across your whole project, not just the open file: it can read and edit any node, search your code and the shader library, create new nodes, tweak uniform values live, render previews, and publish a result for you.
Every action that touches the outside world or destroys something (a delete, a Telegram or YouTube publish, a render) waits behind a confirm prompt, and any turn it took is revertable in one click. You bring your own OpenRouter key, so you pick the model and pay the provider directly. The whole thing stays inside ShaderBox: no shell, no filesystem, just your shaders.
- Install uv: https://docs.astral.sh/uv/
- Run:
uv sync - Run:
uv run python ./shaderbox/ui.py
ShaderBox is free software licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later). You may use, study, share, and modify it; any distributed derivative must remain under the same license with source available. See LICENSE for the full text.

