• This Website Is Not For Sale
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fog / Haze

Discussion in 'Bob's Track Builder' started by Alex Kyriak, Oct 17, 2010.

  1. I see on some tracks for rfactor (Spa for example) that circuits have some degree of fog or haze. How is this controlled? Is it a parameter somewhere? Does it decrease FPS presumably?
  2. Add this line to your scn file after the mainview bit.

    FogMode=LINEAR FogIn=(0.00) FogOut=(350.00) FogDensity=(0.50) FogColor=(185,190,195)
  3. I noticed that some tracks still have distant fog if I set FogDensity to 0.0 - what's that about, I wonder?
  4. Erwin Greven

    Erwin Greven

    Fantastic! It works good!
  5. Mianiak cheers dude will give it a go. :)
  6. When i was making Longford i didn't notice that FogMode or FogDensity made any difference. The other option for FogMode being Exponential. It seemed that FogDensitiy was always '1', no matter what value i used. If they did make a difference it wasn't much. I get the impression the fog implementation was semi-abandoned, like a few other features in rF that show up in text files from time to time.
    Fog will possibly also mess with your skybox appearence, because i think it's only 200-300 meters from the car at all times, with the 'move' tag in the scn file, so any fog setting far beyond that distance will progressively make the horizon look odd. Longford has some long FogOut settings, so i just faded the horizon textures a bit. Better than nothing.
  7. From gMotor2Tools help file.
    Here are the different ways to use it.

    The fog density value goes from 0.00 to 1.00
  8. ah, i wish i'd seen that earlier
  9. I wish I could have options like these for RBR_RX... even 50% of them :D