• Blurring the line between real and virtual motorsports
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with bad looking square......

Discussion in 'Racer Problems & Fixes' started by Alexander Knoll, Aug 22, 2010.

  1. Alexander Knoll

    Alexander Knoll

    Hey all,
    did some one knows what this is or how i can fix it?


    I use the 0.8.17...

    Up to date PC, all other and older versions of Racer running fine...

  2. That's the shadow mapping correction that's a bit off.
    goto data/renderer/common/constants.cg and open it with a text editor.
    Find this line:

    const float smCor[SM_MAX_SPLITS]=blabla

    and raise the values inside, your second split seems off, so raise the second value until its gone
  3. I have been working on this for 3 days now and have come up with a solution that works for me.
    In the ... constants.cg file change the first two values to 0.0001, 001 and in racer.ini change the splits=4 to =2.
    Set the first two split to 60 and 1000 then comment out the next two and comment out the last two in the next two split sections. It's not perfect but a lot better.

    Check on a track that has a long fence or long line of trees and see the shadow render nicely.

    Works for me!