Skip to content
Skills Library
Programming · Building & coding

shader

/shader

Add, apply or change a GPU effect (hit flash, dissolve, outline, palette swap, colour-blind filter, CRT scanlines, vignette, toon shading with rim light, scrolling water, triplanar mapping, normal-mapped sprite lighting) through the kit's shader recipes, so it looks the same in every engine and a test checks it. Use when the user asks for a shader, an effect on a sprite or the screen, a material look, or says an effect looks wrong in one engine. Follows SOP-24.

Licence
MIT
Last repository change
12.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Add, apply or change a GPU effect (hit flash, dissolve, outline, palette swap, colour-blind filter, CRT scanlines, vignette, toon shading with rim light, scrolling water, triplanar mapping, normal-mapped sprite lighting) through the kit's shader recipes, so it looks the same in every engine and a test checks it. Use when the user asks for a shader, an effect on a sprite or the screen, a material look, or says an effect looks wrong in one engine. Follows SOP-24.

Original author description

Add, apply or change a GPU effect (hit flash, dissolve, outline, palette swap, colour-blind filter, CRT scanlines, vignette, toon shading with rim light, scrolling water, triplanar mapping, normal-mapped sprite lighting) through the kit's shader recipes, so it looks the same in every engine and a test checks it. Use when the user asks for a shader, an effect on a sprite or the screen, a material look, or says an effect looks wrong in one engine. Follows SOP-24.

How it works

SKILL.md has no level-two headings · 20 lines, 217 words

SKILL.md preview
---
name: shader
description: Add, apply or change a GPU effect (hit flash, dissolve, outline, palette swap, colour-blind filter, CRT scanlines, vignette, toon shading with rim light, scrolling water, triplanar mapping, normal-mapped sprite lighting) through the kit's shader recipes, so it looks the same in every engine and a test checks it. Use when the user asks for a shader, an effect on a sprite or the screen, a material look, or says an effect looks wrong in one engine. Follows SOP-24.
---

# Shader

Follow `docs/sop/SOP-24-shaders.md`.

1. **Find the recipe:** `python tools/shaders/shader_ref.py list`. Most asks are an existing recipe, or one with other
   parameters (a red flash, a thicker dissolve band). Say which, and what each parameter does (`recipes.json` summary).
2. **Apply it in the engine:** the engine's ENGINE.md (under docs) names the generated files and shows how to put a
   recipe on a sprite, a mesh or the whole screen and how to set or tween a parameter. Give each sprite its own
   material or instance. Pixel art wants nearest filtering. Full-screen flashes go through the flash limiter (SOP-18).
3. **New or changed recipe (reference first):** edit `tools/shaders/ksl/<name>.ksl` and `recipes.json`, run
   `python tools/shaders/shader_ref.py golden --write` and show the user the new picture in
   `data/golden/shaders/`; then `python tools/shaders/shader_gen.py`. Never hand-edit a generated file, and never
   rewrite a golden image to make a port pass.
4. **Prove it:** `python tools/dev.py check` (the engine compiles every recipe; Bevy's only in `smoke`) and
   `python tools/dev.py smoke --shaders` (each drawn on the GPU and compared with its golden image). Then a capture of
   the effect in the game (`smoke --screenshot` or `--record`), looked at before posting.
5. **Report:** the recipe and parameters used, where they are set in the game, the check results, and anything
   marked (verify) for this engine in its ENGINE.md.

Versions

The database has no other skills named shader.

Database snapshot: 13.11.2026 · package version 5fdbf65681e3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90shaders-and-vfx
    Use when authoring shaders/materials or building visual effects in ANY engine — the shader model (vertex/fragment/compute, what each reads and writes), node-graph material thinking, procedural texturing (noise, SDFs, triplanar, vertex-color/splat masks) vs. baked textures, the…
  • 100shader-patterns
    Godot shader code: dissolve, 2D outline, fresnel hologram, scrolling water, a pixelate post-process on a SubViewport, and setting shader parameters from GDScript. Use when building visual effects in Godot's shading language.
  • 100shader-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. Use when the user mentions shaders, fragment/pixel…
  • 100scenario-godot-shaders
    Use when writing or fixing Godot 4.7 shaders: .gdshader code (spatial, canvas_item, particles, sky, fog), VisualShader graphs built in code, stylized or toon water, dissolve or burn effects, hit flash, outlines, X-ray or portals with the stencil buffer, depth or screen-texture…
  • 100shader-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. Use when the user mentions shaders, fragment/pixel…
  • 100scenario-unity-shaders
    Use when a Unity 6.3 URP task involves shaders: hand-written HLSL, Shader Graph water, toon, dissolve or outline, Custom Function nodes, a renderer feature or full-screen effect on Render Graph, compute shaders, shader variants, keywords, stripping, Shader Build Settings, PSO…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.