Distance fog
From FleshWorks
by OrbWeaver
Intro
The addition of distance fog can improve the ambience of certain types of mission, as well as slightly increasing the effective light level and enhancing the appearance of large areas. On the downside, it is not appropriate for every level and may reduce rendering performance.
Procedure
Distance fog is applied on a per-map basis, via the Level Properties dialog.
- On the View menu, choose Level Properties (or type F6 as a shortcut).
- Set the properties ZoneInfo -> bDistanceFog and ZoneInfo -> bFogZone to True.
- Set the property ZoneLight -> DistanceFogColor to the desired colour of the fog (pick a pale colour, not a dark one - standard gray or white works well).
- Set the ZoneLight -> DistanceFogStart and DistanceFogEnd to suitable values (in feet). The defaults of 3000 and 8000 result in effectively no fog at all - something like 512 and 2048 may work better.
Note that the addition of fog can really accentuate problems with the BSP, for example sudden transitions from fogged to unfogged surfaces may appear where there is a BSP cut. If this happens, you will need to simplify the BSP (which is a pretty good idea anyway) or just drop fog altogether.
Back to Mission Design: Environmental
