Command Palette

Search for a command to run...

Назад к скиллам
скилл № 05053

shader-debugging

Diagnose shader and material failures using reproduction, render-state inspection, inputs, spaces, precision, variants, platform differences, and frame or…

БесплатноБез исполняемых скриптов
Dadmin88от Dadmin88★ 52 звезды на GitHub

Установить shader-debugging в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Shader Debugging

Use when a shader renders incorrectly, inconsistently, too slowly, or only fails on certain assets or platforms.

Procedure

  1. Capture the failing material or shader revision, renderer, platform or GPU, scene, camera and light conditions, asset inputs, and exact visual symptom.
  2. Reduce to the smallest reproducing material, mesh, texture set, pass, or feature toggle while preserving the defect.
  3. Inspect shader inputs and coordinate spaces: UVs, normals or tangents, world, view or object space, color space, texture channels, vertex attributes, time, and uniform values.
  4. Check render state and pipeline assumptions such as blend, depth, cull, transparency order, shadow pass, keywords or variants, instancing, batching, and render queue.
  5. Use engine frame capture, shader debugger, generated shader code, or visualization outputs where available to locate the first bad stage.
  6. Check precision, NaN or Inf, division or normalization, derivative, mip or LOD, and platform-specific limits when the defect is hardware-dependent.
  7. Fix the owning layer rather than adding compensating constants that only hide one asset or camera condition.
  8. Re-test on representative assets, lighting, distances, variants, and target platforms; record performance impact if the fix changes shader cost.

Decision rules

  • Visual artifacts are evidence; identify the pipeline stage that first becomes wrong.
  • Do not assume the shader code is at fault when mesh attributes or import settings are wrong.
  • Platform-specific precision and compiler behavior should be verified on target hardware.
  • A fix that materially raises shader cost needs performance review.

Quality gate

The shader issue is resolved when the root cause is demonstrated, the corrected output is stable across relevant variants, assets, and platforms, render-state and input assumptions are explicit, and no material performance regression is hidden.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл shader-debugging?

Diagnose shader and material failures using reproduction, render-state inspection, inputs, spaces, precision, variants, platform differences, and frame or debugger evidence.

Как установить скилл shader-debugging?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл shader-debugging запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить shader-debugging с