shader_salon
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=salon.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=salon.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_carpet
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=carpet.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=carpet.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_grill
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=salon.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=grill.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_engine
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=engine.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=engine.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_seat
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=seat.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=seat.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_body_trim
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=body_trim.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=body_trim.tga
  mipmap=0
  blendfunc=blend
 }
}

shader_body
{
 compression=0
 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=26
  specular=0.82 0.82 0.82
 }
 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=body.tga
  blendfunc=one src_alpha
  mipmap=0
 }
}

shader_body_shade
{
 compression=0
 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=26
  specular=0.82 0.82 0.82
 }
 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=body_shade.tga
  blendfunc=one src_alpha
  mipmap=0
 }
}

shader_badge
{
 compression=0
 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=26
  specular=0.82 0.82 0.82
 }
 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=badge.tga
  blendfunc=one src_alpha
  mipmap=0
 }
}

shader_lights
{
 sort_offset=-7
 layer0
 {
  map=lights.tga
  mipmap=0
 }
 layer1
 {
  map=shine.bmp
  shininess=44 
  specular=1 1 1 1
  blendfunc=dst_color one 
 }
 layer2
 {
  map=shine.bmp
  shininess=44
  specular=1 1 1 1
  blendfunc=dst_color one 
 }
}

shader_lights_2
{
 sort_offset=-7
 layer0
 {
  map=lights_2.tga
  mipmap=0
 }
 layer1
 {
  map=shine.bmp
  shininess=44 
  specular=1 1 1 1
  blendfunc=dst_color one 
 }
 layer2
 {
  map=shine.bmp
  shininess=44
  specular=1 1 1 1
  blendfunc=dst_color one 
 }
}

shader_under
{
 layer0
 {
   map=under.tga
 }
}

shader_under2
{
 layer0
 {
   map=under2.tga
 }
}

shader_lights2_on
{
 sort_offset=2
 fog=0
 layer0
 {
  map=stub.tga
  blendfunc=one src_alpha
  depthwrite=0
 }
 layer1
 {
  map=lights_2_on.tga
  blendfunc=blend
  emission=1 1 1
  mipmap=0
  depthwrite=1
 }
}

shader_lights_on
{
 sort_offset=2
 fog=0
 layer0
 {
  map=stub.tga
  blendfunc=one src_alpha
  depthwrite=0
 }
 layer1
 {
  map=lights_on.tga
  blendfunc=blend
  emission=1 1 1
  mipmap=0
  depthwrite=1
 }
}

 shader_dials_on
{
 sort_offset=2
 fog=0
 layer0
 {
  map=stub.tga
  blendfunc=one src_alpha
  depthwrite=0
 }
 layer1
 {
  map=dials_on.tga
  blendfunc=blend
  emission=1 1 1
  mipmap=0
  depthwrite=1
 }
}

shader_blights
{
 sort_offset=2
 fog=0
 layer0
 {
  map=stub.tga
  blendfunc=one src_alpha
  depthwrite=0
 }
 layer1
 {
  map=blights.tga
  blendfunc=blend
  emission=1 1 1
  mipmap=0
  depthwrite=1
 }
}

shader_chrome
{
   layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=chrome.tga
    blendfunc=dst_alpha src_alpha
    mipmap=1
  }
  layer2
{
 map=Chrome.bmp
 texgen_s=sphere_map
 texgen_t=sphere_map
 emission=1. 1. 1.
 blendfunc=blend
}
}

shader_win00
{
  cull=none
 layer0
 {
  map=win00.tga
  shininess=128
  blendfunc=src_color one_minus_src_alpha 
 }
 layer1
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=src_alpha one_minus_src_color
 }
 layer2
 {
  map=win00.tga
  shininess=40
  specular=1 1 1
  ambient=.3 .3 .3
  emission=0 0 0
  depthwrite=1 
  blendfunc=src_color one_minus_src_alpha 
 }
}

shader_win00_2
{
	cull=none
  	layer0
  	{
		map=win00_2.tga
   		blendfunc=blend
  	}
 	layer1
  	{
    		map=$trackenvmap
    		texgen_s=reflection_map
    		texgen_t=reflection_map
    		texgen_r=reflection_map
    		blendfunc=add
  	}
  	layer2
  	{
		map=win00_2.tga
    		blendfunc=one one_minus_src_alpha
  	}
}

shader_rim
{
 sort_offset=0
 layer0
 {
  map=rim.tga
  mipmap=0
 }
 layer1
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=1 1 1
 }
 layer2
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=-0.5 -0.5 -0.5
 }
 layer3
 {
  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
 }
}

shader_rim_blur1
{
 sort_offset=0
 layer0
 {
  map=rim_blur1.tga
  mipmap=0
 }
 layer1
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=1 1 1
 }
 layer2
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=-0.5 -0.5 -0.5
 }
 layer3
 {
  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
 }
}

shader_brake
{
 sort_offset=0
 layer0
 {
  map=brake.tga
  mipmap=0
 }
 layer1
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=1 1 1
 }
 layer2
 {
  map=$trackenvmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=dst_color one 
  emission=-0.5 -0.5 -0.5
 }
 layer3
 {
  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
 }
}

shader_wheel
{
 compression=0
 sort_offset=-6
 layer0
 {
  map=wheel.tga
  mipmap=0
 }
 layer1
 {
  map=$tracksunmap
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=one dst_alpha
 }
 layer2
 {
  map=wheel.tga
  mipmap=0
  blendfunc=blend
 }
}


shader_mirror
{
	layer0
	{
		map=mirrors2.tga
   		blendfunc=blend
                emission=.6 .6 .6 .6
	}
}