glslviewer-shader-debug

Installation
SKILL.md

glslViewer Shader Debug

Use this skill to turn shader math into repeatable headless previews.

Workflow

  1. Confirm glslViewer is available with command -v glslViewer || command -v glslviewer.
  2. Create a scratch .frag file, usually by copying assets/sdf-contour-template.frag.
  3. Translate the source shader into standard GLSL.
  4. Render the shader with scripts/render_headless.sh.
  5. Inspect the generated PNGs and compare the contour or mask shape against expectations.

Translation Rules

Installs
17
GitHub Stars
29
First Seen
Apr 9, 2026
glslviewer-shader-debug — openharmonyinsight/openharmony-skills