forge-shader-grid - Procedural Anti-Aliased Grid for SDL3
Add procedural anti-aliased grid floor to SDL3 GPU scenes using fragment shader
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create grid pipeline
- bind graphics pipeline
- upload grid geometry
- push uniform data
- render grid quad
- switch pipelines
- compute anti-aliased lines
- apply frequency fade
- apply distance fade
- combine multiple pipelines
Inputs
- Fragment shader code
- Vertex shader code
- View projection matrix
- Line color
- Background color
- Camera position
- Grid spacing
- Line width
- Fade distance
- Grid vertices
- Grid indices
Outputs
- Rendered grid
- Anti-aliased lines
- Scene with grid floor
Requirements
- SDL3 GPU
- HLSL support
- Uniform buffer support
