GLSL and Shadertoy shader skills for Claude Code, Codex, Cursor, Copilot and Gemini CLI. 186 functions, SDF raymarching, procedural terrain, water, clouds and generative art, with a bundler, checker and 11 examples.
Python agent-skillsclaude-codecodexcomputer-graphicscursorgemini-cligenerative-artgithub-copilotglslnoiseprocedural-artprocedural-generationraymarchingshadersshadertoysigned-distance-functionsterrain-generationwebglwebgl2
ChatGPT Custom GPT
- Create a GPT and paste
adapters/universal-system-prompt.md(the part below the line) into Instructions. - Under Knowledge, upload:
skills/shader-art-coding/references/library-index.mdskills/shader-art-coding/references/subject-routing.mdskills/shader-art-coding/references/sdf-library-guide.mdskills/shader-art-coding/references/rendering-pipeline.md- every file in
skills/shader-art-coding/glsl/(rename*.glslto*.txtif the uploader rejects them) - optionally the templates in
skills/shader-art-coding/templates/
- Add this line to the instructions:
The uploaded
glslfiles are a tested function library. Copy functions from them verbatim (with their dependencies, in the module order common, hash, noise, pattern, sdf3d, sdf2d, operators, domain, raymarch, intersect, camera, shading, color, tonemap, volume, atmosphere, post, debug) instead of rewriting them. Uselibrary-index.mdto find them andsubject-routing.mdto choose techniques.
- With Code Interpreter enabled, also upload
skills/shader-art-coding/scripts/glsl_tools.pyand theglsl/folder as a zip. The GPT can then runpython3 glsl_tools.py bundle shader.glslto inline dependencies itself.