LogoClawIndex
CasesSkillsAbout
LogoClawIndex

forge-shader-grid - Procedural Anti-Aliased Shader Grid in SDL3 GPU

Render a procedural anti-aliased grid floor in an SDL3 GPU scene using screen-space derivatives and multiple graphics pipelines.

Tags

Updated: 2026-09-22
sdl3gpushadergridanti-aliasinghlsl

Capabilities

Render anti-aliased procedural grid floorCompute grid lines with fwidthApply frequency and distance fadeSwitch pipelines within render pass

Typical Inputs

SDL3 GPU command bufferView-projection matrix uniformGrid fragment uniforms struct

Typical Outputs

Procedural grid drawn to render targetUpdated render pass depth buffer

What this skill does

  • Render anti-aliased procedural grid floor
  • Compute grid lines with fwidth
  • Apply frequency and distance fade
  • Switch pipelines within render pass

Inputs

  • SDL3 GPU command buffer
  • View-projection matrix uniform
  • Grid fragment uniforms struct
  • Color and depth render targets
  • Grid quad vertex index buffers

Outputs

  • Procedural grid drawn to render target
  • Updated render pass depth buffer

Requirements

  • SDL3 GPU graphics subsystem
  • HLSL fragment shader fwidth support
  • Linear color space swapchain

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.