shader-sdf

Installation
SKILL.md

Shader SDFs

Signed Distance Functions return the distance from a point to a shape's surface. Negative = inside, positive = outside, zero = on surface.

Quick Start

// 2D circle SDF
float sdCircle(vec2 p, float r) {
  return length(p) - r;
}

// Usage
float d = sdCircle(uv - 0.5, 0.3);
Installs
82
GitHub Stars
8
First Seen
Jan 22, 2026
shader-sdf — bbeierle12/skill-mcp-claude