
shader_body
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=filter
  }
  layer2
  {
    map=body.tga
    blendfunc=one src_alpha
    shininess=100
    specular=0.4 0.4 0.4 1
  }
}
shader_valot
{
  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
  }
  layer2
  {
    map=lights.tga
    blendfunc=one src_alpha
    shininess=48
    specular=0.4 0.4 0.4 1
  }
}
shader_valoton
{
  layer0
  { 
   map=lightson.tga
   blendfunc=add
   texenv=replace
   emission=1 1 1 1
  }
}
shader_jvalot
{
  layer0
  { 
   map=jvalot.tga
   blendfunc=blend
   blendfunc=add
   texenv=replace
   emission=1 1 1 1
  }
}
shader_metersa
{
  layer0
  { 
   map=metersa.tga
   blendfunc=add
   texenv=replace
   emission=1 1 1 1
  }
}
shader_etuvalot
{
;cull=none
  layer0
  {
   map=lights.tga
   ;blendfunc=blend
blendfunc=add
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
  }
}
shader_valoin
{
  layer0
  { 
   map=valoin.tga
   blendfunc=add
   texenv=replace
   emission=1 1 1 1
   ;specular=1 1 1 1
  }
}
shader_mirror
{
layer0
{
map=$mirror
texscale_s=1
texscale_r=1
texscale_t=1
emission=0.3 0.3 0.3 1
}
}
shader_rengas
{
 layer0
 {
  map=body.tga
 }
}
shader_tire
{
 layer0
 {
  map=tire_intermediate.tga
 }
}
shader_wipers
{
 layer0
 {
  map=wipers.tga
 }
}
shader_interior
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
  layer1
  {
    map=interior_lo.tga
    blendfunc=one zero
  }
}

shader_cockpit
{
layer0
{
map=interior_hi.tga
}
}
shader_interiorroof
{
layer0
{
map=windows.tga
}
}
shader_katto
{
layer0
{
map=scoop.tga
}
}
shader_meters
{
;cull=none
  layer0
  {
   map=meters.tga
   blendfunc=blend
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
  }
}
shader_windows1
{
;cull=none
  layer0
  {
   map=windows1.tga
   blendfunc=blend
;blendfunc=add
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
  }
}
shader_windowsinterior
{
cull=none
  layer0
  {
   map=interiorwindows.tga
   blendfunc=blend
;blendfunc=add
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
  }
}
shader_takalasi
{
cull=none
  layer0
  {
   map=windows1.tga
   blendfunc=blend
;blendfunc=add
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
  }
}
shader_oz
{
layer0
{
map=oz.tga
shininess=80
specular= .02 .02 .02
diffuse= .8 .8 .8
ambient= .18 .18 .18
emission= 1 1 1
}
}
shader_lights
{
layer0
{
map=lights.tga
}
}
shader_muffler
{
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
emission=1. 1. 1. 1.
blendfunc=filter
}
layer2
{
map=muff-burn
 mipmap=0
 ;shininess=128
 ;specular= 0.5 0.5 0.5 1
 ;diffuse= 1 1 1
 ambient= .5 .5 .5
 emission= .2 .2 .2 .2
blendfunc=dst_alpha src_alpha
}
}
shader_ratti
{
layer0
{
map=steering_wheel.tga
}
}
shader_driver
{
 layer0
 {
  map=driver.tga
 }
}





