Quick Start
beginner quick startDynamic Fog & Mist 2 (Built-in) · Quick Start
Quick Start — First result in 5 minutes
Follow these steps to add fog to your Built-in RP project. No scripting required.
Step 1 — Import the package
Open Window > Package Manager, locate Dynamic Fog & Mist 2 in My Assets and click Import. If you downloaded the .unitypackage manually, double-click it and import all files.
Step 2 — Choose your integration method
Dynamic Fog offers three mutually exclusive approaches. Pick one:
| Method | Best for | How to enable |
|---|---|---|
| Camera script | Most projects | Add DynamicFog (or DynamicFogExclusive for mobile) component to your main camera. |
| Post-Processing Stack v2 | Projects already using PPSv2 | Install PPSv2 from Package Manager, then import PostProcessingSupport.unitypackage from the DynamicFog folder. Add the effect via a Post-Processing Volume. |
| Custom fog materials | Maximum mobile performance | Assign DFM/DFR materials to your objects and add DynamicFogManager to an empty GameObject. |
Step 3 — Configure fog (camera script method)
With the DynamicFog component selected on the camera:
- Select a Preset from the dropdown (e.g., Fog or HeavyFog) for instant results.
- Choose an Effect Type — start with Desktop Fog Plus + Sky Haze for the best visual quality.
- Adjust Alpha (overall fog opacity), Color, and Height to taste.
- Optionally assign a Sun reference (directional light) so fog reacts to the day/night cycle.
Step 4 — Verify in Game view
Enter Play Mode. You should see animated fog in the scene. Press F to cycle fog styles and T to toggle fog on/off in the demo scenes.
Step 5 — Explore demo scenes
Open any scene under DynamicFog/Demo/ to see pre-configured examples. Scenes 1–4 demonstrate the image effect; scene 5 shows custom fog materials; scenes 6–7 cover fog of war.
Checklist
- ☑ Package imported
- ☑ One integration method chosen (camera script, PPSv2, or materials)
- ☑ Fog visible in Game view
- ☑ Preset or custom settings applied
Next Steps
- Fog Effect Types — learn the differences between the 7 shader variants.
- Special Features — fog volumes, fog of war, VR support.
- Scripting Reference — control fog at runtime.
Suggest an improvement
Help us improve this documentation page.