;--
shader_body
{
  cull=back
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   emission=.7 .7 .7 .7
  }
  layer1
  {
    shininess=128
    ;specular=0.6 0.6 0.6
    ;diffuse=0.5 0.45 0.45
    ;ambient=0.2 0.2 0.2
    emsission=.5 .5 .5 .5
    map=cuda1.tga
    mipmap=0
    blendfunc=dst_alpha src_alpha
  }
}
;--
;shader_gray
;{
;  layer0
;  {
;    map=$trackenvmap
;    texgen_s=reflection_map
;    texgen_t=reflection_map
;    texgen_r=reflection_map
;    shininess=35
;    specular=1 1 1 1
;  }
;  layer1
;  {
;    map=gray.tga
;    blendfunc=one src_alpha
;    shininess=55
;    specular=0.76 0.75 0.74
;  }
;}
;
shader_metal
{
    cull=none
    layer0
	{
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      ;blendfunc=src_color one
      ;depthwrite=0
      shininess=50
      ;specular=0.55 0.55 0.55
    }
    layer1
    {
      shininess=50
      ;specular=1.0 .96 0.87
      ;diffuse=0.6 0.6 0.6
      ;ambient=0.15 0.15 0.15
      map=chrome.tga
      ;blendfunc=dst_alpha src_alpha
	  blendfunc=one src_alpha
    }
}
shader_chrome
{
    ;cull=back
    layer0
	{
      map=$tracksunmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
	  ;blendfunc=one src_alpha
      ;depthwrite=0
      shininess=40
	  emission=0.1 0.1 0.1 0,1
      ;specular=0.55 0.55 0.55
    }
    layer1
    {
      shininess=110
      ;specular=1.0 .96 0.87
      ;diffuse=0.6 0.6 0.6
      ;ambient=0.15 0.15 0.15
	  ;emission=0.5 0.5 0.5 0.5
      map=cuda1.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
    }
}
;--
shader_driver
{
  layer0
  {
    map=driver.tga
    shininess=0
  }
}
;--
shader_glass
{
  sort_offset=1
  layer0
  {
   map=glass.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=55
   specular=0.55 0.55 0.55
  }
}
;--
shader_brakelight
{
 cull=none
 layer0
 { 
  map=cuda1.tga
  blendfunc=blend
  depthwrite=1
  shininess=128
  emission=1 1 1 1
  specular=1 1 1 1
  ;diffuse=1 0 0 0
  ;emission=10 10 10 10
 }
}
;--
shader_black
{
  layer0
  {
    map=cuda1.tga
    blendfunc=dst_alpha src_color
    emission=.1 .1 .1 .1
  }
}
;--
shader_interior
{
  layer0
  {
    ;map=gradient.tga
    map=fresnel.tga
	texgen_s=sphere_map
    texgen_t=sphere_map
    emission=0.1 0.1 0.1 0.1
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    ;emission=0.1 0.1 0.1 0.1
    blendfunc=filter
  }
 layer2
  {
    map=inside.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
	shininess=5
    mipmap=0
  }
}
shader_emblem
{
 layer0
 { 
  map=cuda1.tga
  blendfunc=blend
  depthwrite=1
  shininess=70
  ;specular=0.5 0.5 0.5
 }
}
;--
shader_susp
{
 layer0
 {
  map=susp.tga
   shininess=0
   ;specular=0 0 0
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
 }
}
;--
shader_rpm
{
 layer0
 {
  map=rpm.tga
  ;blendfunc=blend
  emission=0.2 0.2 0.2 0.2
 }
}
;--
shader_mph
{
 layer0
 {
  map=mph.tga
  ;blendfunc=blend
  emission=0.2 0.2 0.2 0.2
 }
}
shader_needle1
{
 layer0
 {
  map=needle1.tga
  blendfunc=blend
  emission=1 1 1 1
 }
}
;--
shader_hub
{
 layer0
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
 } 
 layer1
 {
  map=hub_eagle.tga
  shininess=60
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
  mipmap=1
  blendfunc=dst_alpha src_alpha
 }
;--
}
shader_hub_tire
{
 layer0
 {
  map=hub_eagle.tga
   shininess=10
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
 }
}
;--
shader_hub_moon
{
 layer0
 {
  map=hub_eagle.tga
   shininess=60
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
 }
}
;-- 
shader_tire_cg
{
 layer0
 {
  map=Radial.tga
   shininess=10
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
 }
}
;--
shader_rim_cg
{
 layer0
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
 } 
 layer1
 {
  map=Radial.tga
   shininess=50
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
   blendfunc=dst_alpha src_alpha
 }
}
;--
shader_brake_cg
{
 layer0
 {
  map=Radial.tga
   shininess=10
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
   blendfunc=blend
 }
}
;; guitar - ac3dmat0 + acd3dmat1
shader_ac3dmat0
{
 layer0
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
 } 
 layer1
 {
  map=diffuse.bmp
   shininess=50
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
   blendfunc=dst_alpha src_alpha
 }
}
shader_ac3dmat1
{
 layer0
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
 } 
 layer1
 {
  map=diffuse.bmp
   shininess=50
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
   blendfunc=dst_alpha src_alpha
 }
}
shader_f_lights
{
  layer0
  { 
   map=f_lights.tga
   blendfunc=add
   texenv=replace
   ;emission=1 1 1 1
  }
}
shader_suitcases
{
 layer0
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
 } 
 layer1
 {
  map=suitcases.tga
   shininess=1
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
   mipmap=1
   blendfunc=dst_alpha src_alpha
 }
}
shader_spare
{
 layer0
 {
  map=hub_eagle.tga
  shininess=1
   ;specular=0.10 0.1 0.1
   ;diffuse=0.3 0.3 0.3
   ;ambient=0.2 0.2 0.2
  mipmap=1
 }