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 commit 3a3a82aec4

Frequently asked questions

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