vf_glass
{
  material=metal
  vertex_shader
  {
    ;file=dyn_standard_bump_reflect_v.cg
    file=dyn_standard_reflect_window_v.cg
  }
  fragment_shader
  {
    ;file=dyn_standard_bump_reflect_f.cg
    file=dyn_standard_reflect_window2_f.cg
  }
  fresnel
  {
    bias=0.05
    scale=0.95
    power=5.0
  }
}
vf_reflect
{
  material=metal
  vertex_shader
  {
    ;file=dyn_standard_bump_reflect_v.cg
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    ;file=dyn_standard_bump_reflect_f.cg
    file=dyn_standard_reflect_f.cg
  }
  fresnel
  {
    bias=0.02
    scale=0.98
    power=5.0
  }
}
vf_standard
{
  material=metal
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_f.cg
  }
}


shader_gtbody~vf_reflect
{
  reflect=1
		shininess=24
		specular=0.75 0.75 0.75
      compression=0
      cast_shadow=1
	layer0
	{
		map=gtbody.tga
	}
	layer1
	{
		map=$trackenvmap
	}
}
shader_gtwin~vf_glass
{
  reflect=1
  layer0
    {
      map=gtwin.tga
      blendfunc=blend
      depthwrite=0
    }
  layer1
    {
      map=$trackenvmap
    }
}
shader_gtwin2~vf_glass
{
  reflect=1
  cast_shadow=1
  layer0
    {
      map=gtwin.tga
    }
  layer1
    {
      map=$trackenvmap
    }
}
shader_gtcovers~vf_reflect
{
  reflect=1
  layer0
    {
      map=gtcovers.tga
      blendfunc=blend
      depthwrite=0
    }
  layer1
    {
      map=$trackenvmap
    }
}
shader_egrille~vf_standard
{
  cast_shadow=1
  layer0
    {
      map=egrille.tga
      blendfunc=blend
      depthwrite=0
    }
}
shader_gtrim~vf_reflect
{
   cast_shadow=1
   motion_blur=0
   reflect=1
      shininess=32
      specular=0.9 0.9 0.9 1
  layer0
    {
      map=gtrim.tga
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
    }
  layer1
    {
      map=$trackenvmap
    }
}

shader_gttire~vf_standard
{
  cast_shadow=1
  motion_blur=0
  shininess=8
  specular=0.1 0.1 0.1 1
  layer0
    {
      map=gtrim.tga
    }
}

shader_gtrimblur~vf_standard
{
  cast_shadow=1
  motion_blur=0
  layer0
    {
      map=gtrimblur256.tga
      blendfunc=one src_alpha
    }
}

shader_gtrimblur2~vf_standard
{ 
  cast_shadow=1
  motion_blur=0
  layer0
    {
      map=gtrimblur2256.tga
      blendfunc=one src_alpha
    }
}

shader_gtbrake~vf_standard
{
  emission=90 82 80
  layer0
    {
      map=gtbrake.tga
      blendfunc=blend
    }
}

shader_gtint~vf_standard
{
  cast_shadow=1
  compression=0
  layer0
    {
      map=gtint.tga
     ;emission=0.2 0.2 0.2
     diffuse=1.5 1.5 1.5
    }
}

shader_kmh~vf_standard
{
  compression=0
  layer0
    {
      map=kmh.tga
    }
}

shader_rpm~vf_standard
{
  compression=0
  layer0
    {
      map=rpm.tga
    }
}

shader_other_dials~vf_standard
{
  compression=0
  layer0
    {
      map=other_dials.tga
    }
}

shader_wingmirror~vf_reflect
{
  cast_shadow=1
  reflect=1
  shininess=32
  specular=0.9 0.9 0.9 1
  layer0
    {
      map=wingmirror.tga
    }
  layer1
    {
      map=$trackenvmap
    }
}

shader_gtmirrors~vf_standard
{
  diffuse=0.015 0.015 0.015
  ambient=0.015 0.015 0.015
  layer0
    {
      map=$mirror
    }
}

shader_gtmirrors2~vf_standard
{
  layer0
    {
      map=foo.tga
    }
}

