shader-techniques — Claude Code skill: shader code, how to install
shader-techniques — a game-graphics skill with working HLSL examples: a surface shader, two-pass toon lighting and a dissolve effect. Handy when you write materials by hand.
LicenseRef-Proprietary 110 installs ★ 56 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a claude-codeWhat shader-techniques does
The skill walks the rendering pipeline in order: vertex stage, rasterization, fragment stage, framebuffer output. Then come three HLSL samples you can drop into a Unity project. A surface shader with albedo tint, a normal map and metallic/smoothness sliders. A toon shader in two passes, where the first pushes vertices along their normals for an outline and the second reads stepped light from a ramp texture. A dissolve driven by a noise texture, with a coloured edge.
It takes two inputs: shader_type (surface, unlit, post_process, compute, particle) and platform (pc, console, mobile, vr). A failed compile gets retried up to 3 attempts with exponential backoff. Events start, complete, error and compile go to the log, along with metrics for shader variant count, compile time and GPU time in milliseconds.
The toon sample ships _RampTex as plain white. Skip your own ramp and the stepped shading flattens into an even fill. All examples target Unity, so another engine means rewriting the code for its own shader language.
What it helps with
- write a surface shader with PBR sliders and a normal map
- build two-pass toon lighting with a normal-based outline
- add a noise-driven dissolve to a material
- see where vertex, raster and fragment stages sit in the pipeline
- pick the right shader type for a post-process or particle job
Example prompts for the agent
- Write a Unity surface shader with a normal map and metallic and smoothness sliders.
- Make a toon shader with a normal-based outline pass and a ramp texture.
- Explain the dissolve effect that uses a noise texture and an edge color.
How to install shader-techniques
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a claude-code2Manually: put the files in place
~/.claude/skills/shader-techniques/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/shader-techniques/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a codex2Manually: put the files in place
.agents/skills/shader-techniques/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a cursor2Manually: put the files in place
.cursor/skills/shader-techniques/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-game-developer skills/shader-techniques2Manually: put the files in place
.github/skills/shader-techniques/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-game-developer --path skills/shader-techniquesManually: put the files in place
.devin/skills/shader-techniques/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about shader-techniques
How to install shader-techniques in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill shader-techniques -a claude-code. The skill file lands at ~/.claude/skills/shader-techniques/SKILL.md.
What does shader-techniques do?
It supplies Unity HLSL samples: a surface shader with PBR properties, a toon shader with an outline pass, and a dissolve effect. It also explains the order of the render stages.
Which parameters does the skill take?
shader_type with five values and platform with four. Both are optional, and the enum lists in the frontmatter keep the choice inside those values.