glslviewer-shader-debug

Official

Render GLSL previews to debug shader math

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you debug fragment-shader math by producing deterministic, headless rendered previews so you can visually verify SDFs, gradients, masks, and contour shapes before relying on device output.

Core Features & Use Cases

  • Shader translation guidance: Converts runtime-shader or SkSL-like snippets into standard GLSL by applying type, entry-point, and coordinate conventions.
  • Headless rendering with glslViewer: Renders one or more .frag files into reproducible PNG images for visual inspection in environments without a GUI.
  • Contour/mask visualization workflow: Encourages output patterns that make edge behavior and zero-crossings obvious using the provided template helper.

Quick Start

Use glslviewer-shader-debug to render your fragment shader into a headless PNG preview from a .frag file so you can compare the resulting contour or mask shape against expectations.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: glslviewer-shader-debug
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#glslviewer-shader-debug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.