;body-----------------------------------------------------------------------------

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

;---------------------------------------------------------------------------------
shader_black
{
 layer0
 {
  map=black.tga
  shininess=8
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_black1
{
 layer0
 {
  map=black1.tga
  shininess=8
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_black2
{
 layer0
 {
  map=black2.tga
  shininess=8
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_interior_lod0
{
 layer0
 {
  map=interior_lod0.tga
  mipmap=0
  shininess=12
  specular=0.4 0.4 0.45 1
  }
}

shader_interior_lod1
{
 layer0
 {
  map=interior_lod1.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_a8pan
{
 layer0
 {
  map=a8pan.tga
  mipmap=0
  }
}

shader_nodamage
{
  layer0
 {
  map=nodamage.tga
  shininess=16
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_lights
{
 layer0
 {
  map=lights.tga
  shininess=14
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_lanternasoff
{
 layer0
 {
  map=lanternasoff.tga
  shininess=10
  specular=0.2 0.2 0.2
  mipmap=0
  }
}
shader_undercarriage
{
 layer0
 {
  map=undercarriage.tga
  }
}

shader_grille2
{
 layer0
 {
  map=grille2.tga
  shininess=10
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_plate
{
 layer0
 {
  map=plate.tga
  shininess=10
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_Q7misc
{
 layer0
 {
  map=Q7misc.tga
  shininess=6
  specular=0.1 0.1 0.1
  emission= 0.8 0.8 0.8
  mipmap=0
  }
}

shader_display
{
 layer0
 {
  map=display.tga
  shininess=6
  specular=0.1 0.1 0.1
  emission=0.8 0.8 0.8
  mipmap=0
  }
}

shader_display2
{
 layer0
 {
  map=display2.tga
  shininess=6
  specular=0.1 0.1 0.1
  emission=0.8 0.8 0.8
  mipmap=0
  }
}

;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=30
   specular=0.55 0.55 0.55
  }
}

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=18
   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=18
   specular=0.55 0.55 0.55
  }
}

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

;5spoke wheel>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

shader_brake
{
  layer0
  {
    map=brakedisc.tga
    mipmap=0
  }
}

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=38
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=disk.tga                   
                        mipmap=0
		blendfunc=one src_alpha
	}
}

shader_tire
{
  layer0
  {
    map=tire.tga
    mipmap=0
  }
}

shader_baer
{
  layer0
  {
    map=baer.tga
  }
}

;5spoke wheel>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

shader_tyrewallblack

{
  layer0
  {
    map=tyrewallblack.tga
    mipmap=0
  }
}

shader_RS6Misc
{
 layer0
 {
  map=RS6Misc.tga
  shininess=10
  specular=0.3 0.3 0.3
  mipmap=0
  }
}

shader_RS6Rim
{
	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=38
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=RS6Rim.tga                   
                        mipmap=0
		blendfunc=one src_alpha
	}
}

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

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

shader_lanternason
{
  sort_offset=0
  layer0
    {
       map=lanternason.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

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

shader_lights2
{
  sort_offset=0
  layer0
    {
       map=lights2.tga
       blendfunc=add
       texenv=replace
       emission=5 5 5 1
    }
}

shader_lights5
{
  sort_offset=0
  layer0
    {
       map=lights5.tga
       blendfunc=add
       texenv=replace
       emission=5 5 5 1
    }
}

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

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

shader_b_mirror
{
  layer0
    {
       map=$mirror
       texscale_s=1
       texscale_r=1
       texscale_t=-1
       emission=0.3 0.3 0.3 1
    }
}





