Would it be possible to enable these to be modified in a script (like the normal fog) or is it one of those things that can only be set during initialisation?
This would be very useful for making an outdoor area with horizons foggier over time (without the long-running problem of sky textures being unaffected by fog). I know the colour can be changed dynamically (by altering the fog colour in the sector(s) the sky is in), but the density stays the same.
Skyfog & fogdensity (mapinfo)
Moderator: Graf Zahl
- The Ultimate DooMer
- Persecution Complex
- Posts: 152
- Joined: Tue Nov 08, 2005 23:04
- Location: Industrial Zone
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Skyfog & fogdensity (mapinfo)
No, these are values that can easily be changed.
I added a new special, 'SetGlobalFogParameters' for this.
Usage:
SetGlobalFogParameters(FOGP_DENSITY, value);
SetGlobalFogParameters(FOGP_OUTSIDEDENSITY, value);
SetGlobalFogParameters(FOGP_SKYFOG, value);
Values are identical to MAPINFO settings.
I added a new special, 'SetGlobalFogParameters' for this.
Usage:
SetGlobalFogParameters(FOGP_DENSITY, value);
SetGlobalFogParameters(FOGP_OUTSIDEDENSITY, value);
SetGlobalFogParameters(FOGP_SKYFOG, value);
Values are identical to MAPINFO settings.