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_frind
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=frind.tga
    blendfunc=one src_alpha
   }
}


shader_rearlght
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=rearlght.tga
    blendfunc=one src_alpha
   }
}

shader_grey
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=grey.tga
    blendfunc=one src_alpha
   }
}


shader_mglass
{
  cull=none
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one_minus_src_color
  }
  layer1
  {
    map=mglass.tga
    blendfunc=src_color one_minus_src_alpha 
  }
  layer2
  {
    map=$tracksunmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=add
  }
}

shader_shtlight
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=shtlight.tga
    blendfunc=one src_alpha
   }
}

shader_lnglght
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=lnglght.tga
    blendfunc=one src_alpha
   }
}

shader_brklght
{
   layer0
   {
      map=breaklght.tga
      emission=1 1 1 1
      blendfunc=blend
      texenv=replace
   }
}

shader_bmw
{
  layer0
  {
    map=bmw.tga
    blendfunc=blend
  }
}

shader_fuelcap
{
  layer0
  {
    map=fuelcap.tga
    blendfunc=blend
  }
}

shader_black
{
  layer0
  {
    map=black.tga
    ;hininess=8
    ;specular=0.1 0.1 0.15 1
  }
}

shader_interior
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=interior.tga
    blendfunc=one zero
    ;shininess=40
    ;specular=0.2 0.2 0.2 1
  }
}

shader_steer
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=steer.tga
    blendfunc=one zero
    ;shininess=40
    ;specular=0.2 0.2 0.2 1
  }
}

shader_rim
{
  layer0
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
    }
  layer1
    {
      map=rim.tga
      blendfunc=one src_alpha
    }
}

shader_tire
{
  layer0
  {
    map=tire.tga
    ;shininess=8
    ;specular=0.1 0.1 0.15 1
  }
}


shader_number
{
  layer0
   {
     map=$trackenvmap
     texgen_s=reflection_map
     texgen_t=reflection_map
     texgen_r=reflection_map
   }
  layer1
   {
    map=number.tga
    blendfunc=one src_alpha
   }
}


shader_mirror
{
  layer0
   {
     map=$mirror
     texscale_s=1
     texscale_r=1
     texscale_t=1
     emission=0.3 0.3 0.3 1
   } 
  layer1
  {
    map=mirror.tga
    blendfunc=dst_alpha one_minus_src_alpha 
  }
}

shader_sits
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=sits.tga
    blendfunc=one zero
    ;shininess=40
    ;specular=0.2 0.2 0.2 1
  }
}

shader_top_grid
{
  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=topgrid.tga
    blendfunc=one src_alpha
  }
}

shader_maledriver
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
   map=maledriver.jpg
    blendfunc=one zero
    shininess=40
    specular=0.2 0.2 0.2 1
  }
}
