shader-programming
Shader-programming teaches the core concepts behind GPU-accelerated graphics that transfer across different game engines and platforms. You'll explore vertex and fragment shaders, lighting models, and visual effects while building a foundation that applies whether you're working in Unity, Unreal, or Godot. Gain hands-on experience writing portable shader code that maximizes your creative control over rendering.
Shader-programming teaches you to write both vertex and fragment shaders by building foundational GPU concepts that work across engines. You'll learn how vertex shaders transform geometry and fragment shaders determine pixel color, then practice writing portable code in GLSL and HLSL. The skill emphasizes understanding the GPU pipeline stages so your shader logic translates cleanly between Unity, Unreal, and Godot.
AI-generated summary based on this skill's SKILL.md
Install
gamedev-skills/awesome-gamedev-agent-skills/shader-programming · repository language: Python
git clone https://github.com/gamedev-skills/awesome-gamedev-agent-skills
cp -r awesome-gamedev-agent-skills/skills/disciplines/shader-programming ~/.claude/skills/shader-programmingFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to write vertex and fragment shaders in shader-programming?
Shader-programming teaches you to write both vertex and fragment shaders by building foundational GPU concepts that work across engines. You'll learn how vertex shaders transform geometry and fragment shaders determine pixel color, then practice writing portable code in GLSL and HLSL. The skill emphasizes understanding the GPU pipeline stages so your shader logic translates cleanly between Unity, Unreal, and Godot.
What visual effects can I implement with shader-programming?
Shader-programming covers common game shader effects including dissolve, outline, rim light, vignette, and color tinting. You'll also learn UV scrolling animations and texture sampling techniques. Each effect teaches underlying principles—like coordinate space math and time-based uniforms—so you can adapt them to your own creative needs and combine them into more complex visual systems.
Does shader-programming cover HLSL vs GLSL shader translation?
Yes. Shader-programming explicitly addresses translating shader concepts between GLSL and HLSL, helping you understand which patterns are portable and which require platform-specific adjustments. This cross-engine focus means you'll learn the core GPU concepts that remain constant while recognizing syntax and capability differences between shader languages.
What coordinate spaces and GPU pipeline stages does shader-programming explain?
Shader-programming covers UV math, coordinate space transformations, and the complete GPU pipeline from vertex to fragment stages. You'll learn how to avoid common pitfalls like mixing coordinate spaces and understand interpolation of normals and other vertex attributes. This foundation ensures your shaders behave predictably across different rendering contexts.
Can shader-programming help me with mobile shader optimization?
Shader-programming addresses mobile shader concerns including precision qualifiers like highp and mediump, helping you write efficient code for constrained platforms. The portable, cross-engine approach means techniques you learn apply to mobile targets in Unity, Unreal, and other engines where performance matters.
What common game shader patterns does shader-programming teach?
Shader-programming teaches portable patterns including discard and alpha blending, texture sampling workflows, time-based uniform scrolling, and lighting models like Fresnel rim light. By learning these patterns as transferable concepts rather than engine-specific implementations, you build a toolkit that works wherever you develop.
SKILL.md
rendered from the published skill — quoted content, verbatim
Shader programming (cross-engine)
Shaders are small programs that run per vertex and per pixel on the GPU.
The concepts — the pipeline, coordinate spaces, UVs, and how common effects are
built — port across engines; only the language dialect and built-in variable
names change. This skill teaches those portable fundamentals in GLSL with HLSL
equivalents; use godot-shaders (or Unity/Unreal material docs) for the exact
engine syntax and built-ins.
When to use
- Use to understand or write vertex/fragment
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
skills/disciplines/shader-programming/SKILL.md
skills/disciplines/shader-programming/references/effects.md