shader_body
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1 1 1 1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=filter
    shininess=24
    specular=0.75 0.75 0.75
  }
  layer2
  {
    map=body.tga
    blendfunc=one src_alpha
  }
}

shader_main
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1 1 1 1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=filter
    shininess=24
    specular=0.75 0.75 0.75
  }
  layer2
  {
    map=main.tga
    blendfunc=one src_alpha
  }
}

shader_win00
{
  cull=none
  layer0
  {
    ;depthwrite=0
    map=win00.tga
    blendfunc=one src_alpha
  }
  layer1
  {
    ;depthwrite=0
    texenv=replace
    map=fresnel2.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    blendfunc=one dst_alpha
  }
  layer2
  {
    ;depthwrite=0
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=dst_alpha one
  }
}

shader_interior
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=cockpit.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}


shader_carpet
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=carpet.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_engine
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=engine.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_underbody
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=underbody.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_maledriver
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=maledriver.bmp
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25

  }
  shader_wheels
  {
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=25
    specular=0.1 0.1 0.15 1
  }
  layer1
  {
    map=wheel.tga
    blendfunc=one src_alpha
  }
}

shader_rim
{
 layer0
 {
  map=trd01.tga
      shininess=8
      specular=0.1 0.1 0.15 1
 }
 layer1
 {
  map=trd01.tga
      shininess=8
      specular=0.1 0.1 0.15 1
 }
}
shader_lights
{
  layer0
  { 
   map=lights.tga
   blendfunc=add
   texenv=replace
   ;emission=1 1 1 1
  }
}

shader_brakelights
{
  layer0
    {
      map=brakelights.tga
      emission=1 1 1 1
      blendfunc=blend
      texenv=replace
    }
}

shader_mirror
 {
	
  layer0
   {
     map=$mirror
     texscale_s=1
     texscale_r=1
     texscale_t=1
     emission=0.3 0.3 0.3 1
   }
}

shader_needle
{
 layer0
  {
    map=needle.tga
  }
}