• "I've tried everything other than jumping out of a plane, but nothing gives you an adrenaline rush like racing a car." - Nigel Mansell
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some shader error

Discussion in 'Racer Problems & Fixes' started by aadilf1, Feb 19, 2013.

  1. aadilf1

    aadilf1

    Messages:
    714
    Ratings:
    +164
    Hey my cousin is getting this error in Racer 0.8.38

    DGPU shadermanger:makeobject(dyn_standerd_redlect_f_speccol.cg):cant create cg fragment shader program

    Can you tell us how to fix it?
     
  2. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    Messages:
    1,417
    Ratings:
    +286
    Hi,
    open the car.shd and replace the line with:
    Code:
    dyn_standard_reflect_f.cg
    ...your code is a "special" file and not in standard racer install...
     
  3. aadilf1

    aadilf1

    Messages:
    714
    Ratings:
    +164
    but for some reason it works for me and not my cousin
     
  4. Harey

    Harey

    Messages:
    1,370
    Ratings:
    +610
    you probably have that "special" file and he doesn't.
     
  5. junaid

    junaid

    Messages:
    20
    Ratings:
    +5
    I don't understand what u said explain it again properly
     
    • Like Like x 1
  6. William Geuze

    William Geuze

    Messages:
    577
    Ratings:
    +148
    The following shader file:

    dyn_standerd_redlect_f_speccol.cg

    Doesn't come with Racer. If you want it to work for your cousin, either send him the file, or, use a different shader file in your shader definition (top of track.shd) like the one Alexander suggested :)
     
    • Like Like x 1