godot-shaders
Skill by gamedev-skills
Teaches an AI assistant to write and debug Godot 4.7 Shading Language (.gdshader) files. It covers canvas_item, spatial and particle shaders, material wiring, a headless compile check, and porting from Godot 3.x.
Install godot-shaders
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/godot/godot-shaders ~/.claude/skills/godot-shadersRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/godot/godot-shaders ~/.gemini/antigravity-cli/skills/godot-shadersAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers Godot 4.7 Shading Language syntax and the shader pipeline. It explains how to pick a shader type on the first line, write the output variables each type expects, and expose tunable uniforms with hints such as source_color and hint_range. It also shows how to wire a ShaderMaterial in a .tscn file or from GDScript with set_shader_parameter.
The skill includes a headless compile check. It runs a GDScript script that loads each .gdshader file and forces compilation, then the user greps the log for SHADER ERROR lines. It also lists 3.x to 4.x renames and common gotchas. The source says it is for developers writing or porting .gdshader code, fixing a SHADER ERROR, or setting shader parameters from code. Effect technique such as dissolve or outline is left to a separate skill.
Written from the project's SKILL.md and checked against it.
What it can do
- Shader type selectionChooses canvas_item, spatial, particles, sky, fog or texture_blit as the shader type on the first line.
- ShaderMaterial wiringShows how to attach a shader to a material in a .tscn file or set uniforms from GDScript.
- Headless compile checkProvides a GDScript that compiles every .gdshader file and reports SHADER ERROR lines in a log.
- canvas_item tint and scrollExample shader that scrolls a texture's UV over time and multiplies it by a tint color.
- Spatial emissive rimExample 3D shader that adds a view-based rim glow to an opaque material using EMISSION.
- Screen-reading post effectExample 2D shader that samples the screen texture with hint_screen_texture for a simple blur.
- 3.x porting notesLists renamed hints and built-ins, such as SCREEN_TEXTURE, hint_color and MODELVIEW_MATRIX, to update to 4.x.
- Common gotchasExplains issues such as washed-out colors without source_color, transparency from ALPHA writes, and TIME wrapping.
What you need
- Godot 4.7 (the skill targets Godot 4.7)
- A Godot binary named godot, godot4 or set in GODOT_BIN, for the headless compile check
- Python, to run the godot-nodes-scenes check_godot_project.py script
Try asking
- Write a canvas_item shader that scrolls a texture and tints it with a color uniform.
- My Godot shader shows a SHADER ERROR. Help me find the cause and fix it.
- Port this Godot 3 SCREEN_TEXTURE shader to Godot 4 syntax.
Good to know
- The headless check does not run the GPU driver, so visual results need a check in the editor.
- Shaders embedded in a .tscn are not covered by the file-based compile script and need a scene smoke run.
- TIME wraps at rendering/limits/time/time_rollover_secs, which is 3600 seconds by default.
- Effect technique such as dissolve or outline is handled by a separate skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/godot/godot-shaders/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/shading-language.md5 KB
Alternatives to godot-shaders
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
godot-shaders: common questions
Does this skill work with Godot 3.x projects?
It targets Godot 4.7 and includes a section on porting 3.x shaders to 4.x. It lists renamed built-ins and hints that need updating.
How does the skill check that shaders compile?
It provides a headless Godot script that loads each .gdshader file and forces compilation. The user then greps the output log for SHADER ERROR or compilation failure messages.
Can it write effects like dissolve or outline?
Not in this skill. The source says effect maths such as dissolve or outline belong to the shader-programming skill.
How do I install godot-shaders?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is godot-shaders free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is godot-shaders safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to godot-shaders?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
