|
Obsolete. Use STATE_engine_set_fog() instead.
Set the fog intensity.
Using fog is one of the easiest ways to increase your game speed.
The more intensed fog, the higher FPS (frames per seconds) you should expect.
Note however that if you do not use fog at all or use an unnoticeable intensity of fog
then it is better to shut off fog entirely (by calling STATE_engine_set_atmospheric_effect_intensity(0) )
Parameters:
fog_intensity
1 means according to what is set in the input world file.
2 means the atmospheric effect intensity is doubled.
0.5 means atmospheric effect intensity is half.
0 means that atmospheric effect is off.
Note that if you test this function and suddenly you don't anything in your world that
usually means that you are using a too strong fog intensity. Try calling with a smaller value
till you get the desired effect.
|