;body------------------------------------------------------------------------------
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
		shininess=12
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=body.tga
		blendfunc=one src_alpha
	}
}

;------------------------------------------------------------------------------

shader_mat1
{
 layer0
 {
  map=mat1.tga
  shininess=10
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_a8pan
{
 layer0
 {
  map=a8pan.tga
  }
}


shader_metallic
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
      shininess=36
      specular=1 1 1 1
  }
  layer1
  {
    map=metallic.tga
    blendfunc=one src_alpha
  shininess=38
  specular=0.76 0.75 0.74
  }
}

shader_metalbody
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=38
    specular=1 1 1 1
  }
  layer1
  {
   map=metalbody.tga
   blendfunc=one src_alpha
   shininess=38
   specular=0.76 0.75 0.74
  }
}


shader_texture
{
  layer0
  {
    map=texture.tga
  }
}

shader_podbamp
{
 layer0
 {
  map=podbamp.tga
  shininess=20
  specular=0.4 0.4 0.4
  mipmap=0
  }
}

shader_zamsha
{
  layer0
  {
    map=zamsha.tga
  }
}

shader_koga_obrazec
{
 layer0
 {
  map=koga_obrazec.tga
  shininess=8
  specular=0.2 0.2 0.2
  mipmap=0
  }
}

shader_derevo
{
	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=0.65 0.65 0.65
		shininess=30
		specular=0.4 0.4 0.4
		blendfunc=filter
	}
	layer2
	{
		map=derevo.tga
		blendfunc=one src_alpha
                        shininess=30
                        specular=0.1 0.1 0.1
	}
}

shader_koga_black
{
 layer0
 {
  map=koga_black.tga
  }
}

shader_vehiclelights128
{
  layer0
  {
    map=vehiclelights128.tga
  }
}

shader_mesh
{
  layer0
  {
    map=mesh.tga
  }
}


shader_black
{
  layer0
  {
    map=black.tga
  }
}

shader_carplate
{
 layer0
 {
  map=carplate.tga
  shininess=10
  specular=0.4 0.4 0.4
  mipmap=0
  }
}

shader_steer
{
  layer0
  {
    map=steer.tga
  }
}

shader_tv
{
  sort_offset=1
  layer0
    {
       map=tv.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}


;mirror----------------------------------------------------------------------------

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

;windows---------------------------------------------------------------------------

shader_windows
{
   sort_offset=1
   layer0
  {
   map=windows.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=12
   specular=0.55 0.55 0.55
  }
}


shader_windows_front
{
  sort_offset=1
  layer0
  {
   map=windows_front.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=12
   specular=0.3 0.3 0.3 1
  }
}

shader_wing
{
  sort_offset=1
  layer0
  {
   map=wing.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=12
   specular=0.3 0.3 0.3 1
  }
}

;brakes&lights-----------------------------------------------------------------------

shader_brakes
{
  sort_offset=1
  layer0
    {
       map=brakes.tga
       blendfunc=add
       texenv=replace
       emission=.2 .2 .2 1
    }
}

shader_lights0
{
  sort_offset=1
  layer0
    {
       map=lights0.tga
       blendfunc=add
       texenv=replace
       emission=7 7 7 1
    }
}

shader_lights1
{
  sort_offset=1
  layer0
    {
       map=lights1.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

shader_lights3
{
  sort_offset=1
  layer0
    {
       map=lights3.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

shader_lights4
{
  sort_offset=1
  layer0
    {
       map=lights4.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}


;wheel&tire-------------------------------------------------------------------------

shader_brake
{
  layer0
  {
    map=brakedisc.tga
  }
}

shader_disk
{
	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
		shininess=8
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=disk.tga
		blendfunc=one src_alpha
	}
}

shader_tire
{
  layer0
  {
    map=tire.tga
  }
}

shader_baer
{
  layer0
  {
    map=baer.tga
  }
}

shader_baer1
{
  layer0
  {
    map=baer1.tga
  }
}

