Shader Programming
/shader-programming
Write game shaders from cross-engine fundamentals — the vertex→fragment pipeline, coordinate spaces, UV math, and common 2D/3D effects (tint, UV scroll, dissolve, outline, fresnel rim, vignette) in GLSL with HLSL equivalents.
- GitHub 星数
- 2,085 (所在仓库星数,统计于 2026-10-21)
- 许可证
- Apache-2.0
- 最近提交
- 2026/10/09
- 作者
- gamedev-skills
所属合集
Awesome Gamedev Agent Skills
74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.
信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。
安装
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill shader-programmingInstalls only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.
命令照搬项目 README。在本机运行前,请先看一眼仓库。
为指定 Agent 安装
| Agent | -a | 文件夹 |
|---|---|---|
| Claude Code | claude-code | .claude/skills/ |
| Codex | codex | .agents/skills/ |
| Cursor | cursor | .agents/skills/ |
| Gemini CLI | gemini-cli | .agents/skills/ |
| GitHub Copilot | github-copilot | .agents/skills/ |
| OpenCode | opencode | .agents/skills/ |
| Windsurf | windsurf | .windsurf/skills/ |
在命令后加 -a <参数>。以上是项目级文件夹;加 -g 则安装到你的用户目录。
包含内容
- Worked steps: Fragment basics: sample, tint, and combine; Scrolling UVs (animated texture) — frame-rate independent; Dissolve; Fresnel rim light (3D) — brighten glancing angles
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
适合
- Requests about shaders, fragment/pixel shader, vertex shader, UV or GLSL
试试这条提示词
Write a dissolve shader with a glowing edge in GLSL, and give me the HLSL version.关于这个 Skill
Write game shaders from cross-engine fundamentals — the vertex→fragment pipeline, coordinate spaces, UV math, and common 2D/3D effects (tint, UV scroll, dissolve, outline, fresnel rim, vignette) in GLSL with HLSL equivalents. Use when the user mentions shaders, fragment/pixel shader, vertex shader, UV, GLSL, HLSL, or effects like dissolve, outline, or rim light.
From the shader-programming SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Fragment basics: sample, tint, and combine
- Scrolling UVs (animated texture) — frame-rate independent
- Dissolve (threshold a noise map, glow the edge)
- Fresnel rim light (3D) — brighten glancing angles
常见问题
搭配使用
作者标注的相关 Skills,或更适合相邻任务的 Skills。
Godot Shaders
Godot 4.7 shaders for 2D and 3D: vertex and fragment code, uniforms, TIME and UV animation, and screen-reading effects.
Procedural Generation
Procedural content with seeded RNG: Perlin and Simplex noise terrain, rooms-and-corridors dungeons and weighted loot tables.
Awesome Gamedev Agent Skills 中的更多 Skills
查看全部 43 个2D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
相似 skills
Universal Modder
Skills, tools and a fal MCP that let Claude Code mod PC games you own: recon, reverse engineering, generated assets, in-game testing.
Scenario Skills
Production-ready images, video, audio and 3D from any agent through the Scenario MCP, plus expert teams for Blender, Unreal and Unity.
sprite-gen
Generate clean 2D game sprites and animation atlases: state rows, alpha cleanup, frame extraction, runtime atlases.
ZBrush Character & Creature Sculpting (Scenario)
Sculpt realistic heads, bodies and creatures in ZBrush: anatomy, skin and scale detail, subdivision planning, cloth, FiberMesh hair and horns.