Skip to main content
skill CX Codex

godot-shaders-basics — Claude Code skill: install and overview

Supplies Godot shader patterns for draw-call batching, post-processing, and foliage. Useful when building hit-flashes or screen passes without depth glitches.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-shaders-basics -a claude-code
Open on GitHub

What godot-shaders-basics does

This skill equips coding agents with practical rules for Godot Shading Language. It focuses on engine rendering bottlenecks rather than introductory color math. The model learns to configure instance uniforms for enemy nodes. This preserves single draw calls.

Included shader templates handle foliage wind sway and world position reconstruction from depth textures. Full-screen screen-space passes account for Godot 4.3 requirements. Because the engine uses Reversed-Z depth, screen quads require POSITION = vec4(VERTEX.xy, 1.0, 1.0) to prevent unwanted clipping.

Dynamic if/else checks are replaced by hardware-friendly functions like step() and mix(). Invariant calculations move to the vertex stage so fragment code remains lean.

What it helps with

  • implement damage flashes on instanced meshes without breaking batches
  • render screen-space post-process quads correctly in Godot 4.3 Reversed-Z
  • reconstruct world coordinates using scene depth textures
  • build foliage wind motion while preserving shadow casting via alpha scissor

Example prompts for the agent

  • Write a Godot hitflash shader using instance uniforms to preserve draw call batching
  • Generate a full-screen quad shader compatible with Godot 4.3 Reversed-Z depth
  • Build a dissolve shader that keeps shadows and depth prepass using alpha scissor

How to install godot-shaders-basics

1Skills CLI (Vercel)

npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-shaders-basics -a claude-code

2Manually: put the files in place

~/.claude/skills/godot-shaders-basics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/godot-shaders-basics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about godot-shaders-basics

How to install godot-shaders-basics in Claude Code?

Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-shaders-basics -a claude-code in your terminal.

What does godot-shaders-basics do?

It adds production Godot shading templates and optimization rules for batch-safe effects to your AI assistant.

Why does the skill avoid unconditional discard operations?

Using discard prevents hardware depth prepass optimizations from functioning. The skill enforces ALPHA_SCISSOR or hash dithering so geometry still casts proper shadows.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set50

godot-master A Godot 4.7 skill hub: it routes a task to the right domain sections and hands back layer rules plus performance budgets. Useful at project start and when something drags. CX Codex +1 4,900installs godot-2d-animation Provides production-tested GDScript patterns for Godot 2D animation, covering AnimatedSprite2D sync, procedural squash and stretch, and skeletal rigs. CX Codex +1 684installs godot-ui-theming A skill that guides an AI agent through Godot UI theming: Theme resources, StyleBoxes, fonts and dark/light switching. CX Codex +1 617installs godot-particles Architecture rules and GDScript blueprints for Godot particle systems. Prevents GPU memory spikes and fixes stuttering physics trails. CX Codex +1 611installs godot-gdscript-mastery Guides coding agents through GDScript pitfalls, enforcing static typing and safe node lifecycle patterns in Godot. CX Codex +1 612installs godot-save-load-systems Save and load blueprints for Godot covering JSON and binary serialization, version migration, and rolling backups. Keeps game state handling consistent. CX Codex +1 595installs godot-testing-patterns Provides testing decision trees and GdUnit4 templates for Godot. Guides developers through unit tests, headless CI runs, frame stepping, and network mocks. CX Codex +1 585installs godot-3d-world-building A skill for building 3D levels in Godot: GridMap with MeshLibrary, CSG greyboxing, occlusion and chunk streaming. Useful once a prototype has to become a playable scene. CX Codex +1 536installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor