;------------------------------------------

vf_reflect
{
  cast_shadow=1
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}

vf_reflect_bump
{
  ; Texture+bumpmap+reflection map
  vertex_shader
  {
    ;file=dyn_standard_reflect_v.cg
    ;file=dyn_standard_bump_speca_v.cg
    file=dyn_standard_bump_reflect_v.cg
  }
  fragment_shader
  {
    ;file=dyn_standard_reflect_f.cg
    ;file=dyn_standard_bump_speca_f.cg
    file=dyn_standard_bump_reflect_f.cg
  }
}

vf_bump_speca
{
  ; Specular control using the diffuse's alpha channel
  vertex_shader
  {
    file=dyn_standard_bump_speca_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_speca_f.cg
  }
}

vf_glass
{
  vertex_shader
  {
    file=dyn_standard_reflect_window_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_window_f.cg
  }
}

vf_emission
{
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_hlight_f.cg
  }
}

vf_bump
{
  cast_shadow=1
  compression=0
  tangents=1
  ; Texture+bumpmap
  vertex_shader
  {
    file=dyn_standard_bump_v.cg
    ;file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_f.cg
    ;file=dyn_standard_reflect_f.cg
  }
}
vf_reflect_chrome
{
  reflect=2.9
  shininess=40
  diffuse=0.1 0.1 0.1 1
  specular=1 1 1 1
  ambient=0.25 0.25 0.25 1
  mipmap_bias=4
  cast_shadow=1
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}
vf_standard
{
  cast_shadow=1
  compression=0
  tangents=1
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_f.cg
  }
}

vf_bump_reflect
{
  cast_shadow=1
  compression=0
  tangents=1
  ; Texture+bumpmap
  vertex_shader
  {
    file=dyn_standard_bump_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_reflect_f.cg
  }
}
;body-----------------------------------------------------------------------------

shader_body~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=body_mold.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_red2~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=red2.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_plate~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=plate.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_body2~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=body2.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_body~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=body.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_lights~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=lights.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_chrome~vf_reflect
{
  cast_shadow=1
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=gr2.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_salon~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=salon.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_sid~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=sid.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_kov~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=kov.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_salon2~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=salon.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_speed~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=speed.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_bl~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=bl.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_other~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=other.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_dno~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=dno.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_bpm~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=bpm.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_eng1~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=eng1.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_dvi2~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=dvi2.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_metal~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=metal.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_gaz3309_mus2~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=gaz3309_mus2.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_red2_brake~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=red2_brake.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_goodyear~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=goodyear.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_red2_brake~vf_luminous
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=red2_brake.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}

shader_red2_on~vf_luminous
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=red2_on.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}

shader_lights_on~vf_luminous
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=lights_on.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}
;windows--------------------------------------------------------------------------

shader_glass~vf_glass

{
sort_offset=1
reflect=0.57
diffuse=1 1 1
ambient=1 1 1
layer0
{
  map=glass.tga
  shininess=753
  blendfunc=blend
 }
 layer1
  {
   map=$trackenvmap
   }
}
