shader_glass
{
  sort_offset=5
  layer0
    {
      map=glass1.tga
      blendfunc=blend
    }
  layer1
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      blendfunc=src_color one
    }
}
shader_windowmask
{
  layer0
    {
      map=windowfront.tga
    }
}
shader_luchtkoker
{
  layer0
    {
      map=luchtkoker.tga
    }
}
shader_meterlp
{
  layer0
    {
      map=meterlp.tga
    }
}
shader_badging
{
	layer0
  {
  map=murcielago640 badging.tga
  blendfunc=blend
  depthwrite=0
 }
}
shader_body
{
	sort_offset=0
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=murcielago640 misc.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.1 0.1 0.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_interior
{
 layer0
  {
   map=murcielago640 interior.tga
  }
}
shader_640int
{
 layer0
  {
   map=640_int.tga
  }
}
shader_640int2
{
 layer0
  {
   map=640_int2.tga
  }
}
shader_lp640speaker
{
 layer0
  {
   map=lp640speaker.tga
  }
}
shader_bottom
{
 layer0
  {
   map=underbody.tga
  }
}
shader_gloss
{
	sort_offset=0
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=1 1 1 1
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=skin.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.1 0.1 0.1 .1
	}
}
shader_head
{
 layer0
  {
   map=lplights2.tga
  }
}
shader_brakelight
{
	sort_offset=0
	layer0
	{
		map=brakelight.tga
	}
}
shader_hudon
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=hudon.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_dashon
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=dashon.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_overlay_glass
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=brake_overlay.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_brakelighton
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=brakeon.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_light_overlay
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=light_overlay.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_rlight_overlay
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=rearlight_overlay.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_nightlight
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=lgt_r_g.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_headon
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=lighton.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_rlight
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=r-light.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_headoverlay
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=glassoverlay.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_headoverlay_right
{
 ;cull=none
 layer0
  {
  blendfunc=one_minus_src_alpha src_alpha
  map=glassoverlay_right.tga
  blendfunc=blend
  emission=1 1 1 1
  specular=0 0 0 1
  mipmap=1
  texenv=replace
  depthwrite=0
 }
}
shader_trim
{
	sort_offset=0
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=MURCIELAGO640 RIM.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.1 0.1 0.1 .1
	}
}

shader_tire_back
{
  layer0
    {
      map=potenza_re01.tga
      blendfunc=blend
    }
}
shader_disc
{
  layer0
    {
      map=brakdisc.tga
      blendfunc=blend
    }
}
shader_pad
{
	sort_offset=0
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=MURCIELAGO640 MISC.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.1 0.1 0.1 .1
      }
}
;__________________________interior_______________
shader_dash
{
  layer0
  {
    map=dash_d.tga
  }
}
shader_steer
{
	sort_offset=0
	layer0
      {
		map=steer_d.tga
	}
}
shader_seat
{
	sort_offset=0
	layer0
	{
		map=skin.tga
	}
      layer1
      {
		map=seat_d.tga
            blendfunc=blend
            emission=0 0 0 0
	}
}
shader_door
{
	sort_offset=0
	layer0
      {
		map=door_d.tga
	}
}
shader_hud
{
  layer0
  {
    map=hr_cockpit.tga
  }
}
shader_mirror_i
{	
  layer0
   {
     map=$mirror
     texscale_s=1
     texscale_r=1
     texscale_t=1
     emission=0.3 0.3 0.3 1
   }
}