Forge Linear Fog

Add depth-based distance fog to an SDL GPU project. Supports linear, exponential, and exponential-squared modes. Fog is applied in the fragment shader after lighting, blending the lit color toward a fog color based on camera distance.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/development/forge-linear-fog-code-review-benchmar-coderabbit-prs2-forg commit 64d296747f

Frequently asked questions

npx skillmds@latest add majiayu000/forge-linear-fog-2