linear-fog
OfficialAdd depth fog to 3D scenes.
AuthorRosyGameStudio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill adds atmospheric perspective and visual depth to 3D scenes by simulating fog, making distant objects fade into a background color.
Core Features & Use Cases
- Fog Modes: Supports linear, exponential, and exponential-squared fog.
- Shader Integration: Provides HLSL code snippets to integrate fog calculations into fragment shaders.
- Use Case: Enhance the realism of a game or simulation by making distant mountains or buildings fade into a hazy sky, or to hide the clipping plane of the camera.
Quick Start
Apply the linear fog skill to your SDL GPU project by adding the provided HLSL code to your fragment shader and setting the fog uniforms.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: linear-fog Download link: https://github.com/RosyGameStudio/forge-gpu/archive/main.zip#linear-fog Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.