shader-skills: open-source GLSL function library that stops AI agents writing broken shaders

Promptmethus · x · 2026-11-23

AI-written shaders usually fail with compile errors or plastic-looking output. A working 5-pass procedural GLSL scene was built using the open-source shader-skills library: 197 ready-made GLSL functions across 21 modules, 27 Shadertoy/WebGL2 studies, a shader bundler and compile checker. Instead of deriving math from scratch, the agent composes proven functions and validates on every iteration. Shader expert XorDev flagged the remaining weakness — volumetric light direction and lighting consistency — so add a lighting/physics checklist with human or reviewer-agent sign-off. MIT-licensed, 518 stars on GitHub, pluggable into your coding agent.

Original post →

More from coding & agent

coding & agent channel →