vf_ghost
{
  vertex_shader
  {
    file=dyn_standard_ghost_v.cg
  }
  fragment_shader
  {
    file=standard_ghost_f.cg
  }
}
shader_body~vf_ghost
{
  cast_shadow=1
  tangents=1
  compression=0
  reflect=0.125
  cull=none
  ambient=0.00 0.08 0.20
  diffuse=0.00 0.04 0.10
  shininess=12
  specular=0.15 0.40 0.80
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
  }
}
;                               Carrosserie
shader_body4~vf_ghost
{
  ;                               Pied milieu/Montant par brise/ Partie sup. hayon
  tangents=1
  cast_shadow=1
  compression=0
  reflect=0.125
  cull=none
  ambient=0.00 0.08 0.20
  diffuse=0.00 0.04 0.10
  shininess=12
  specular=0.15 0.40 0.80
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_body_2~vf_ghost
{
  ;                               Bas de caisse/boucliers
  tangents=1
  cast_shadow=1
  compression=0
  reflect=0.00
  cull=none
  ambient=0.04 0.04 0.04
  diffuse=0.03 0.03 0.03
  shininess=12
  specular=0.08 0.08 0.08
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_body3~vf_ghost
{
  ;                               Pavillion
  tangents=1
  cast_shadow=1
  compression=0
  reflect=0.00
  ;cull=none
  ambient=0.04 0.04 0.04
  diffuse=0.03 0.03 0.03
  shininess=12
  specular=0.08 0.08 0.08
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_monograme~vf_ghost
{
  tangents=1
  compression=0
  specular=0 0 0
  shininess=95
  diffuse=0.01 0.01 0.01
  ambient=0.01 0.01 0.01
  cull=none
  layer0
  {
    map=logos.dds
    blendfunc=blend
    mipmap_lod_bias=-1
  }
}
shader_vitres~vf_ghost
{
  sort_offset=1
  reflect=0.4
  diffuse=1.0 1.0 1.0
  ambient=1.0 1.0 1.0
  cast_shadow=1
  layer0
  {
    map=vitres.tga
    shininess=20
    blendfunc=blend
    specular=0.0 0.0 0.0 1.0 
    depthwrite=0
  }
  layer1
  {
    map=$trackenvmap
    depthwrite=0
  }
}
shader_vitres_int~vf_ghost
{
  sort_offset=1
  reflect=0
  diffuse=1.0 1.0 1.0
  ambient=1.0 1.0 1.0
  cast_shadow=1
  layer0
  {
    map=vitres.tga
    shininess=20
    blendfunc=blend
    specular=0.0 0.0 0.0 1.0 
    depthwrite=0
  }
}
shader_noir~vf_ghost
{
  cull=none
  cast_shadow=1
  layer0
  {
    map=blanc.dds
    specular=0.02 0.02 0.02
    ambient=0.01 0.01 0.01
    diffuse=0.01 0.01 0.01
    shininess=10
  }
}
shader_00~vf_ghost
{
  cull=none
  cast_shadow=1
  layer0
  {
    map=Texture6.tga
    shininess=25
    specular=0.05 0.05 0.05
    blendfunc=blend
  }
}
shader_gris~vf_ghost
{
  cull=none
  specular=0.4 0.4 0.4
  shininess=12
  cast_shadow=1
  layer0
  {
    map=blanc.dds
    ambient=0.3 0.3 0.3
    diffuse=0.3 0.3 0.3
  }
}
shader_freins~vf_ghost
{
  cull=none
  specular=0.1 0.1 0.1
  shininess=12
  cast_shadow=1
  layer0
  {
    map=blanc.dds
    ambient=0.02 0.02 0.02
    diffuse=0.01 0.01 0.01
  }
}
shader_pneu~vf_ghost
{
  tangents=1
  cast_shadow=1
  compression=0
  ambient=0.3 0.3 0.3
  diffuse=1.0 1.0 1.0
  specular=0.05 0.05 0.05
  shininess=15
  layer0
  {
    map=pneu512.tga
  }
  layer1
  {
    map=pneu512_bump.tga
    mode=linear
    mipmap_lod_bias=-1
  }
}
shader_retro~vf_ghost
{
  ambient=0.05 0.05 0.05
  diffuse=0.05 0.05 0.05
  layer0
  {
    map=$mirror
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
}
shader_phare0~vf_ghost
{
  cull=none
  compression=0
  reflect=0.25
  diffuse=2.4 2.40 0.00 ;0.60 0.60 0.00
  ambient=1.8 1.8 0.00 ;0.45 0.45 0.00
  specular=0 0 0
  shininess=50
  tangents=1
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
    mode=linear
  }
}
shader_chrome~vf_ghost
{
  reflect=0.5
  cast_shadow=1
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_jante_espace~vf_ghost
{
  specular=0.6 0.6 0.6
  shininess=17
  ambient=0.9 0.9 0.9
  diffuse=1.25 1.25 1.25
  cast_shadow=1
  layer0
  {
    map=jante espace I.dds
  }
}
;INTERIEUR
shader_sieges~vf_ghost
{
  cast_shadow=1
  specular=0.08 0.08 0.08
  shininess=12
  layer0
  {
    map=drap_gris.tga
    mipmap=0
  }
  map=tissu_beige.tga
}
shader_harm01~vf_ghost
{
  tangents=1
  cast_shadow=1
  compression=0
  specular=0.3 0.3 0.3
  shininess=22
  diffuse=0.05 0.05 0.05
  ambient=0.06 0.06 0.06
  cull=none
  ;partie claire
  layer0
  {
    map=blanc.dds
    mipmap_lod_bias=-1
  }
}
shader_harm02~vf_ghost
{
  diffuse=0.06 0.06 0.06
  ambient=0.04 0.04 0.04
  cast_shadow=1
  ;partie foncee
  layer0
  {
    map=blanc.dds
    mipmap_lod_bias=-1
  }
}
shader_moquette~vf_ghost
{
  cast_shadow=1
  diffuse=0.05 0.05 0.05
  ambient=0.04 0.04 0.04
  layer0
  {
    map=moquette.tga
  }
}
shader_ciel_de_toit~vf_ghost
{
  cull=none
  diffuse=0.30 0.30 0.30
  ambient=0.30 0.30 0.30
  cast_shadow=1
  layer0
  {
    map=toit_1.dds
    mipmap_lod_bias=-1
  }
}
shader_ciel_de_toit_2~vf_ghost
{
  cull=none
  diffuse=0.30 0.30 0.30
  ambient=0.30 0.30 0.30
  cast_shadow=1
  layer0
  {
    map=toit_2.dds
    mipmap_lod_bias=-1
  }
}
shader_ceintures~vf_ghost
{
  diffuse=0.06 0.06 0.06
  ambient=0.04 0.04 0.04
  cast_shadow=1
  cull=none
  layer0
  {
    map=ceinture.dds
    mipmap_lod_bias=-1
  }
}
shader_volant_2~vf_ghost
{
  tangents=1 ;partie sup volant
  compression=0
  specular=0.1 0.1 0.1
  shininess=16
  diffuse=0.25 0.25 0.28
  ambient=0.25 0.25 0.28
  cast_shadow=1
  reflect=0.1
  cull=none
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=plastique_bump.jpg
    mode=linear
    mipmap_lod_bias=-1
  }
}
shader_volant_1~vf_ghost
{
  tangents=1
  compression=0 ;partie centrale du volant 
  specular=0.1 0.1 0.1
  shininess=16
  diffuse=0.000 0.000 0.000
  ambient=0.010 0.010 0.010
  reflect=0.1
  cast_shadow=1
  cull=none
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=plastique_bump.jpg
    mode=linear
    mipmap_lod_bias=-1
  }
}
shader_plastique_sieges~vf_ghost
{
  cast_shadow=1
  tangents=1
  compression=0
  specular=0.1 0.1 0.1
  shininess=95
  diffuse=0.06 0.06 0.06
  ambient=0.04 0.04 0.04
  cull=none
  layer0
  {
    map=blanc.dds
  }
  layer1
  {
    map=plastique_bump.jpg
    mode=linear
    mipmap_lod_bias=-1
  }
}
shader_tbd~vf_ghost
{
  cast_shadow=1
  tangents=1
  compression=0
  specular=0.1 0.1 0.1
  shininess=22
  cull=none
  layer0
  {
    map=tbd.tga
    mipmap_lod_bias=-1
  }
}
shader_noir_ext~vf_ghost
{
  sort_offset=1
  reflect=0.04
  cull=none
  diffuse=0.02 0.02 0.02
  ambient=0.02 0.02 0.02
  cast_shadow=1
  layer0
  {
    map=blanc.dds
    shininess=20
    specular=0.0 0.0 0.0 1.0 
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_noir_int~vf_ghost
{
  sort_offset=1
  reflect=0
  cull=none
  diffuse=0.02 0.02 0.02
  ambient=0.02 0.02 0.02
  cast_shadow=1
  layer0
  {
    map=blanc.dds
    shininess=20
    specular=0.0 0.0 0.0 1.0 
  }
}
shader_glace_compteur~vf_ghost
{
  sort_offset=10
  layer0
  {
    map=vitre int.tga
    blendfunc=blend
    mipmap_lod_bias=-1
    depthwrite=0
  }
}
shader_kmh~vf_ghost
{
  cull=none
  layer0
  {
    map=kmh.tga
    ambient=0.7 0.7 0.7
    diffuse=0.7 0.7 0.7
    mipmap_lod_bias=-1
  }
}
shader_rpm~vf_ghost
{
  cull=none
  layer0
  {
    map=rpm.tga
    ambient=0.7 0.7 0.7
    diffuse=0.7 0.7 0.7
    mipmap_lod_bias=-1
  }
}
shader_plaque~vf_ghost
{
  cull=none
  cast_shadow=1
  layer0
  {
    map=plaque.dds
    mipmap_lod_bias=-1
  }
}
shader_boutons~vf_ghost
{
  cull=none
  layer0
  {
    map=boutons.tga
    mipmap_lod_bias=-1
  }
}
shader_commodos~vf_ghost
{
  cull=none
  cast_shadow=1
  layer0
  {
    map=tbd.tga
    mipmap_lod_bias=-1
  }
}
shader_maledriver~vf_ghost
{
  cast_shadow=1
  layer0
  {
    map=maledriver.tga
  }
}
; Lumieres
shader_stop~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=15 2 2
  diffuse=15 2 2
  layer0
  {
    map=lights.tga
    blendfunc=blend
  }
}
shader_stop_2~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=20 10 2
  diffuse=20 10 2
  layer0
  {
    map=lights.tga
    blendfunc=blend
  }
}
shader_recul~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=15 15 15
  diffuse=15 15 15
  layer0
  {
    map=lights.tga
    blendfunc=blend
  }
}
shader_phare_on~vf_ghost
{
  sort_offset=-5
  shininess=12
  specular=0 0 0 0
  ambient=7.5 7.5 1
  diffuse=7.5 7.5 1
  layer0
  {
    map=blanc.dds
    blendfunc=blend
  }
}
shader_clignos~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=20 20 20
  diffuse=20 20 20
  layer0
  {
    map=lights.tga
    blendfunc=blend
  }
}
shader_retro_eclr~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=10 10 10
  diffuse=10 10 10
  layer0
  {
    map=tbd.tga
    blendfunc=blend
  }
}
shader_kmh_n~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=1 1 1
  diffuse=1 1 1
  layer0
  {
    map=kmh_n.dds
    blendfunc=blend
  }
}
shader_rpm_n~vf_ghost
{
  shininess=12
  specular=0 0 0 0
  ambient=1 1 1
  diffuse=1 1 1
  layer0
  {
    map=rpm_n.dds
    blendfunc=blend
  }
}
