shader-grid

Official

Procedural anti-aliased grid for 3D scenes.

AuthorRosyGameStudio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a dynamic, procedural grid for 3D scenes, eliminating the need for textures and offering advanced visual effects like anti-aliasing and distance-based fading.

Core Features & Use Cases

  • Procedural Grid Generation: Renders a grid directly in the fragment shader without textures.
  • Anti-Aliasing: Uses screen-space derivatives (fwidth()) for crisp, pixel-perfect lines at any distance.
  • Distance & Frequency Fading: Fades the grid gracefully based on camera distance and viewing angle to prevent aliasing artifacts (moiré).
  • Multiple Pipeline Support: Demonstrates how to integrate different rendering pipelines within a single render pass.
  • Use Case: Add a clean, anti-aliased floor grid to your 3D game or visualization tool, perfect for debugging object placement or as a visual element.

Quick Start

Use the shader-grid skill to add a procedural anti-aliased grid to your SDL3 GPU scene.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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-grid
Download link: https://github.com/RosyGameStudio/forge-gpu/archive/main.zip#shader-grid

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.