shader_body
{
  layer0
  {
    map=fresnel.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=body.tga
   shininess=48
   specular=0.5 0.5 0.5 1
   blendfunc=one src_color
  }
}

}
shader_obicia
{
  layer0
    {
      map=obicia.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}
shader_skaj
{
  layer0
    {
      map=skaj.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}
shader_guma
{
  layer0
    {
      map=guma.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}
shader_material
{
  layer0
    {
      map=material.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}
shader_tex
{
  cull=none
  layer0
  {
    map=tex.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
  }
}

shader_black
{
  layer0
    {
      map=black.bmp
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}
shader_lights1
{
  cull=none
  layer0 
  {    
    map=lights1.tga
      shininess=10
      specular=0.1 0.1 0.15 1
      blendfunc=blend

  }
}

shader_controls
{
  cull=none
  layer0
  {
    map=fresnel.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=0.5 0.5 0.5 0.5
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=filter
  }
 layer2
  {
    map=controls.tga
   shininess=48
   specular=0.2 0.2 0.2 0.7
   blendfunc=one src_alpha
  }
}
shader_rim
{
  layer0
  {
    map=fresnel.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=rim.tga
   shininess=48
   specular=0.5 0.5 0.5 1
   blendfunc=one src_alpha
  }
}


shader_tire
{
  layer0
    {
      map=tire.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}

shader_lights2
{
  layer0
    {
      map=lights2.tga
      emission=1 1 1 1
      shininess=0
      specular=0 0 0 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_chrom
{
  cull=back
  layer0
    {
      map=chrom.bmp
      mipmap=0
      shininess=90
      specular= 1 1 1
      ambient=.5 .5 .5
    }
  layer1
    {
      map=$trackenvmap
      ;texgen_s=normal_map
      ;texgen_t=normal_map
      ;texgen_r=normal_map
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      emission= 1 1 1
      blendfunc=one src_color
}
}

shader_tex
{
  cull=none
  layer0
  {
    map=tex.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
  }
}
shader_wajcha
{
  cull=none
  layer0
  {
    map=wajcha.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
  }
}
shader_chromin
{
  cull=back
  layer0
    {
      map=chrom.bmp
      mipmap=0
      shininess=90
      specular= 1 1 1
      ambient=.5 .5 .5
    }
  layer1
    {
      map=chromin.bmp
      ;texgen_s=normal_map
      ;texgen_t=normal_map
      ;texgen_r=normal_map
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      emission= 0.1 0.1 0.1
      blendfunc=one src_color
}
}
shader_ped
{
  cull=none
  layer0
  {
    map=ped.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
  }
} 
shader_lights1
{
  cull=back
  layer0
    {
      map=lights1.tga
      mipmap=0
      shininess=90
      specular= 1 1 1
      ambient=.5 .5 .5
    }
  layer1
    {
      map=chromin.bmp
      ;texgen_s=normal_map
      ;texgen_t=normal_map
      ;texgen_r=normal_map
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      emission= 0.1 0.1 0.1
      blendfunc=one src_color
}
}
shader_controls_l
{
  layer0
    {
      map=controls_l.tga
      emission=1 1 1 1
      shininess=0
      specular=0 0 0 1
      blendfunc=blend
      texenv=replace
    }
}

shader_headlights
{
  layer0
    {
      map=headlights.tga
      emission=1 1 1 1
      shininess=0
      specular=0 0 0 1
      blendfunc=blend
      texenv=replace
    }
}

shader_maledriver
{
	layer0
	{
		map=maledriver.tga
	}
}

shader_vent
{
  cull=none
	layer0
	{
		map=vent.tga
	}
}

shader_tex_glass
{
 layer0
 {
  map=tex_glass.tga
  depthwrite=0 
  shininess=128
  blendfunc=src_color one_minus_src_alpha 
  
 }
 layer1
 {
  map=$trackenvmap
  depthwrite=0 
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one src_alpha
}
}