shader-debug

Community

Debug GLSL shaders with quick visual feedback.

Authorpthm
Version1.0.0
Installs0

System Documentation

## What problem does it solve? Shader-rendering issues can stall graphics development. This skill provides a fast workflow to visually validate GLSL fragment shaders by rendering them to PNG files for quick inspection.

## Core Features & Use Cases

  • Realtime shader visualization: render fragment shaders to output images to verify color and coordinate mapping.
  • Iterative debugging: isolate issues in UV handling, time uniforms, and resolution scaling by generating deterministic outputs for given inputs.
  • Lightweight setup: use the included tool with a simple go run command to generate test images from shader code.

### Quick Start To debug a shader, run: go run ./cmd/shaderdebug -shader shaders/resource.fs -out /tmp/debug.png and open the produced PNG to inspect results. Then adjust shader code and rerun as needed.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: shader-debug
Download link: https://github.com/pthm/soup/archive/main.zip#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 223,000+ vetted skills library on demand.