Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

shader

/shader

Dodaje lub zmienia efekt GPU z przepisów shaderów, tak by wyglądał identycznie w każdym silniku, a test to sprawdza.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

86/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść21 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dodaje lub zmienia efekt GPU z przepisów shaderów, tak by wyglądał identycznie w każdym silniku, a test to sprawdza.

Oryginalny opis (EN)

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.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 20 linii, 217 słów

Podgląd SKILL.md
---
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.

Wersje

W bazie nie ma innych skilli o nazwie shader.

Migawka bazy z 13.11.2026 · wersja paczki 5fdbf65681e3 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90shaders-and-vfx
    Pomaga pisać shadery i materiały oraz tworzyć efekty wizualne w dowolnym silniku: cząsteczki, dekale, zniekształcenia i styl cel shading.
  • 100shader-patterns
    Podaje gotowe wzory shaderów w Godot: rozpuszczanie, obrys 2D, hologram, wodę, pixelizację i ustawianie parametrów z GDScript.
  • 100shader-programming
    Pisze shadery gier od podstaw: potok wierzchołków i fragmentów, układy współrzędnych, UV i efekty w GLSL oraz HLSL.
  • 100scenario-godot-shaders
    Pisze i naprawia shadery w Godot 4.7: .gdshader (spatial, canvas_item, particles, sky, fog), VisualShader w kodzie, woda, dissolve, outline, post-processing, compute shaders i shader baker.
  • 100shader-programming
    Pisze shadery do gier od podstaw wspólnych dla silników: potok wierzchołek-fragment, przestrzenie współrzędnych, matematyka UV i efekty 2D i 3D, jak dissolve, outline, fresnel i winieta, w GLSL z odpowiednikami HLSL.
  • 100scenario-unity-shaders
    Pisze i naprawia shadery w Unity 6.3 URP: HLSL, Shader Graph (woda, toon, dissolve, outline), renderer features, compute shaders, warianty, stripping i PSO warm-up oraz różowe materiały.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.