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

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_remap~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=remap.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_fang2~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=fang2.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_black~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=black.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_grille2~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=grille2.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_engine~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=engine.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_1~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=1.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_carbonfiber~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=carbonfiber.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_undercarriage~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=undercarriage.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
;wheels--------------------------------------------------------------------------

shader_5~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=5.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_steering_wheel~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=steering_wheel.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_vehicle_generic_tyrewallblack~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=vehicle_generic_tyrewallblack.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_emzone_stabdziu_diskas~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=emzone_stabdziu_diskas.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_6~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=6.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
shader_db9whl~vf_standard
{
reflect=0.07
ambient=1 1 1
specular=0.07 0.07 0.07
shininess=24.57
 layer0
 {
  map=db9whl.tga
   }
layer1
 {
   map=$trackenvmap
 }
}
;brakes&lights-----------------------------------------------------------------------
shader_3~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=3.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_vehiclelights128~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=vehiclelights128.tga
 }
layer1
 {
  map=$trackenvmap
 }
}
shader_of1on~vf_luminous
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=of1on.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}
shader_digitalon~vf_standart
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=digitalon.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}
shader_txt_halo~vf_luminous
{
    cast_shadow=1
sort_offset=1
  layer0
    {
       map=txt_halo.tga
       blendfunc=add
       ;texenv=replace
       emission=80 80 80 80
    }
}

;windows--------------------------------------------------------------------------

shader_chrome_hardgalss~vf_glass

{
sort_offset=1
reflect=0.57
diffuse=1 1 1
ambient=1 1 1
layer0
{
  map=chrome_hardgalss.tga
  shininess=753
  blendfunc=blend
 }
 layer1
  {
   map=$trackenvmap
   }
}
shader_txt_mirror_mirror
{
layer0
map=txt_mirror.tga
{
cast_shadow=1
map=$mirror
texscale_s=1
texscale_r=1
texscale_t=1
diffuse=0.015 0.015 0.015 1
ambient=0.015 0.015 0.015 1
}
} 