LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

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

Capabilities

Typical Inputs

Typical Outputs

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
sdl3
gpu
shader
grid
anti-aliasing
hlsl
Render anti-aliased procedural grid floor
Compute grid lines with fwidth
Apply frequency and distance fade
Switch pipelines within render pass
SDL3 GPU command buffer
View-projection matrix uniform
Grid fragment uniforms struct
Procedural grid drawn to render target
Updated render pass depth buffer