• Little Aussie Racing Cars: For when three-wide around a hairpin isn't quite close enough.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you have any questions, please don't hesitate to ask. There's no such thing as a stupid question.

Fog / Haze

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

  1. Alex Kyriak

    Alex Kyriak

    Messages:
    350
    Ratings:
    +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. mianiak

    mianiak

    Messages:
    578
    Ratings:
    +16
    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. Raido

    Raido

    Messages:
    379
    Ratings:
    +14
    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
    Premium

    Messages:
    1,474
    Ratings:
    +254
    Fantastic! It works good!
     
  5. Alex Kyriak

    Alex Kyriak

    Messages:
    350
    Ratings:
    +1
    Mianiak cheers dude will give it a go. :)
     
  6. woochoo

    woochoo

    Messages:
    330
    Ratings:
    +46
    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. mianiak

    mianiak

    Messages:
    578
    Ratings:
    +16
    From gMotor2Tools help file.
    Here are the different ways to use it.
    FogMode=LINEAR
    FogMode=EXP
    FogMode=EXP2

    The fog density value goes from 0.00 to 1.00
     
  8. woochoo

    woochoo

    Messages:
    330
    Ratings:
    +46
    ah, i wish i'd seen that earlier
     
  9. martinez

    martinez

    Messages:
    743
    Ratings:
    +14
    I wish I could have options like these for RBR_RX... even 50% of them :D