shader_body
{
 ;sort_offset=-4
 layer0
 {
  map=fresnel.tga
  texgen_s=sphere_map
  texgen_t=sphere_map
  emission=0 0 0 0
 }
 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=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  shininess=24
  specular=1 1 1 1
  }
 layer3
 {
  map=meganebody.tga
  blendfunc=one src_alpha
  shininess=338 0.30 0.25 0.25
 }
}
shader_glass_op
{
 layer0
 {
  map=fresnel.tga
  texgen_s=sphere_map
  texgen_t=sphere_map
  emission=1 1 1 1
  mipmap=0
 }
 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
  mipmap=0
 }
 layer2
 {
  map=lunette_.tga
  blendfunc=one src_alpha
  mipmap=0
 }
 layer3
 {
  map=Shine.tga
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  shininess=24
  specular=0.7 0.7 0.7
 }
}
shader_chrome
{
 ;sort_offset=-4
 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
  emission=0.5 0.5 0.5
  blendfunc=filter
  shininess=24
  specular=0.75 0.75 0.75
 }
 layer2
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  ;blendfunc=one dst_alpha
  blendfunc=dst_color one 
  shininess=24
  specular=0.7 .7 .7
  }
 layer3
 {
  map=chrome-R.tga
  blendfunc=one src_alpha
  shininess=24
  specular=0.15 0.15 0.15 0.15
 }
}

shader_megphar
{
 ;sort_offset=-4
 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
  emission=0.5 0.5 0.5
  blendfunc=filter
  shininess=24
  specular=0.75 0.75 0.75
 }
 layer2
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  shininess=24
  specular=1 1 1 1
  }
 layer3
 {
  map=megphar.tga
  blendfunc=one src_alpha
  shininess=24
  specular=0.15 0.15 0.15 0.15
 }
}shader_phare
{
 ;sort_offset=-4
 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
  emission=0.5 0.5 0.5
  blendfunc=filter
  shininess=24
  specular=0.75 0.75 0.75
 }
 layer2
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  shininess=24
  specular=1 1 1 1
  }
 layer3
 {
  map=feuRS.tga
  blendfunc=one src_alpha
  shininess=24
  specular=0.15 0.15 0.15 0.15
 }
}
shader_glass
{
  ;cull=none
  sort_offset=25
  layer0
  {
   map=lunette.tga
   blendfunc=src_alpha one_minus_src_alpha
   depthwrite=0
  }
  layer1 
  {
    depthwrite=0
    texenv=replace
    map=fresnel2.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    blendfunc=one dst_alpha
    emission=1 1 1 1
  }
  layer2
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
   depthwrite=0
   shininess=55
   specular=0.55 0.55 0.55 1
  }
}

shader_commande
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=commande.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}


shader_feu
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=feu.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_porte
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=porte.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_portear
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=portear.tga
    blendfunc=one zero
    ;shininess=20
    ;specular=0.25 0.25 0.25
  }
}

shader_plaque
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=plaque.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_plastique
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=plastique.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_plastique2
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=plastique2.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_megblackgro
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=megblackgro.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_dash
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=dash.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_console
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=console.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_megseat
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=sige.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_steer
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=volant.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_moteur
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=moteur.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

shader_rim
{
  ;sort_offset=-4
  layer0
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map
      shininess=25
      specular=0.1 0.1 0.15 1
    }
  layer1
   {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
  shininess=24
  specular=1 1 1 1
   }
  layer2
   {
      map=jante512.tga
      blendfunc=one src_alpha
   } 
}

shader_tire
{
 layer0
 {
  map=pneu.tga
      shininess=8
      specular=0.1 0.1 0.15 1
 }
}

shader_brakedisc
{
 layer0
 {
  map=disque.tga
      shininess=8
      specular=0.1 0.1 0.15 1
      blendfunc=blend
 }
}

shader_bls
{
  layer0
  { 
    map=bls.tga
    emission=1 1 1 1
    blendfunc=blend
    shininess=100
    specular=1 1 1 1
    depthwrite=1
  }
}
shader_br
{
sort_offset=-50
  layer0
  { 
    map=br.tga
    emission=4 4 4 4
    blendfunc=blend
    shininess=100
    specular=0 0 0 0
    depthwrite=1
  }
}
shader_megmirr
 {	
  layer0
   {
     map=$mirror
     texscale_s=1
     texscale_r=1
     texscale_t=1
     emission=0.8 0.8 0.8 1
   }
}
shader_lgrey
{
	layer0
	{
		map=$mirror
	}
	layer1
	{
		map=lgrey.tga
		blendfunc=src_color src_alpha
	}
}
shader_kubera
{
	layer0
	{
		map=kubéra.bmp
                shininess=25
                specular=0.5 0.5 0.5
	}
}
shader_texture1
{
	layer0
	{
		map=C4 Picasso texture 1.bmp
	}
}
shader_volant
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=volant.bmp
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}
shader_steppe
{
	layer0
	{
		map=steppe 17.jpg
                shininess=20
                specular=0.3 0.3 0.3
	}
}
shader_tuxed
{
	layer0
	{
		map=tuxédo.jpg
                specular=0.2 0.2 0.2
                shininess=20
	}
}
shader_feu_ph2
{
  sort_offset=-1
  layer0
   {
      map=feuRs.tga
      blendfunc=blend
   } 
}
shader_feu_ph2_trans
{
  cull=none
  sort_offset=1
  layer0
  {
   map=feuRS.tga
   blendfunc=src_alpha one_minus_src_alpha
   depthwrite=0
  }
}
shader_feu_all
{
  cull=none
  sort_offset=1
  layer0
  {
   map=feu_all.tga
   blendfunc=blend
   emission=2 2 2 2
   depthwrite=0
  }
}
shader_dash_all
{
  cull=none
  sort_offset=1
  layer0
  {
   map=dash_all.tga
   blendfunc=blend
   emission=2 2 2 2
   depthwrite=0
  }
}
shader_hlbeam
{
sort_offset=4
cull=none
layer0
{
blendfunc=one_minus_src_alpha src_alpha
map=hlbeam.tga
emission=2 2 2 1
specular=0 0 0 1
mipmap=0
texenv=replace
depthwrite=1
}
}