Dust, Fog, & Smoke

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)русский (ru)中文 (zh)
... Icon-Important.png
Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want

Ammunition | Animals & Creatures | Antlions | Beams & Lasers | Cables & Ropes | Clouds & Sky | Color Theory | Combat | Combine | Compression | Doors | Dust, Fog & Smoke | Elevators | Level Transitions | Environmental Lighting & Weather | Explosions | Fire | Foliage | Glass & Windows | Headcrab | Health | Ladders | Lighting | Optimization (Level Design) | Physics | Retinal scanners | Sound & Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie


This article is about adding smoke, dust, fog, etc, to a map. Due to their similarities, most of these effects can be achieved by variations of each other.


Entities

Materials

  • effects/fog_d1_trainstation_02 Used only in the distance. Fit to brush face. HL2-content derived source games only.
  • shadertest/volumetricfog — Doesn't work.
  • tools/toolsfog — Works only with func_smokevolume.
  • tools/toolsskyfog (needs description)

Notes

  • env_smokestack and func_dustcloud use numerous sprites to achieve their effect, and can therefore be very expensive to render (some settings will slow your map, especially on low-end systems).
  • CS:S has some cloud props.
  • Shafts of light must be added by hand. There is a model for this (Effects/vol_light.mdl) or you can create a non-solid brush with material models/effects/vol_light001 or vol_light002.
  • To get fog in a 3D skybox, adjust the fog settings in the sky_camera. For best results give it the same settings as the env_fog_controller.
  • Left 4 Dead 2 There is a Fog Panel in Left 4 Dead 2 that allows in-game manipulation of fog parameters. It is loaded via console command fogui.

See also

External links