shader_helmet
 {
 layer0
 {
 map=$trackenvmap
 texgen_s=reflection_map
 texgen_t=reflection_map
 texgen_r=reflection_map
 shininess=32
 specular=1 1 1 1
 }
 layer1
 {
 map=driver.tga
 blendfunc=one src_alpha
 mipmap=1
 }
 }

shader_fsr1_1_blur_0
{
 layer0
 {
  map=fsr1-matt-blur-0.tga
  blendfunc=blend
 }
}
shader_fsr_2_1_blur_0
{
 layer0
 {
  map=fsr2-blur-0.tga
  blendfunc=blend
 }
}
shader_fsr1_1_blur_2
{
 layer0
 {
  map=fsr1-matt-blur-2.tga
  blendfunc=blend
 }
}
shader_fsr_2_1_blur_2
{
 layer0
 {
  map=fsr2-blur-2.tga
  blendfunc=blend
 }
}
shader_brakedisk_blur1
{
	layer0
	{

		map=braked_blur_1.tga
		alphafunc=gequal 128 
	}
}
shader_fsr1_1_blur_1
{
 layer0
 {
  map=fsr1-matt-blur-1.tga
  blendfunc=blend
 }
}
shader_fsr_2_1_blur_1
{
 layer0
 {
  map=fsr2-blur-1.tga
  blendfunc=blend
 }
}
shader_brakedisk
{
	layer0
	{
		map=braked.tga
		alphafunc=gequal 128 
	}
}


shader_wischer
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		blendfunc=blend
		map=maintex.tga
	}
}

shader_interior
{
	layer0
	{
		shininess=10
		specular=0.1 0.1 0.15 1
		map=interior.tga
	}
}

shader_matt_grey
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		map=maintex.tga
	}
}

shader_matt
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		map=maintex.tga
	}
}

shader_maledriver
{
	layer0
	{
		map=driver.tga
	}
}

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

shader_veilside
{
  	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
    		blendfunc=filter
		shininess=30
		specular=0.75 0.75 0.75 1
  	}
 	layer2
  	{
    		map=veilside.tga
    		blendfunc=one src_alpha
  	}
}


shader_veilside_matt
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		map=veilside.tga
	}
}

shader_window
{
 	layer0
 	{
 		map=glass.tga
 		blendfunc=blend
 	}
 	layer1
 	{
 		map=$trackenvmap
 		texgen_s=reflection_map
 		texgen_t=reflection_map
 		texgen_r=reflection_map
 		blendfunc=one_minus_dst_alpha one
 	}
}

shader_decals
{
	sort_offset=50
	cull=none
	layer0
	{
		map=glass.tga
		alphafunc=greater 254
		depthwrite=0
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=src_color one_minus_src_color
	}
	layer2
	{
		map=glass.tga
		alphafunc=notequal 0
		blendfunc=src_alpha one_minus_src_alpha
		emission=0 0.2 0.2 1
		depthwrite=0
	}
}

shader_lights
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		blendfunc=blend
		map=maintex.tga
	}
}

shader_exhaust
{
 	layer0
  	{
    		map=$trackenvmap
    		texgen_s=reflection_map
    		texgen_t=reflection_map
    		texgen_r=reflection_map
		shininess=40
		specular=1 1 1 1
  	}
 	layer1
  	{
    		map=maintex.tga
    		blendfunc=one src_alpha
  	}
}

shader_brakedisk
{
	layer0
	{
		shininess=50
		specular=0.1 0.1 0.15 1
		map=braked.tga
	}
}

shader_brakelight
{
	layer0
	{
		emission=1 1 1 1
		map=brake.tga
		blendfunc=blend
	}
}

shader_Lenkrad
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		map=swtex.tga
	}
}

shader_Gnubell
{
	layer0
	{
		shininess=15
		specular=0.1 0.1 0.15 1
		map=swtex.tga
	}
}

shader_silber
{
  	layer0
  	{
    		map=$trackenvmap
    		texgen_s=reflection_map
    		texgen_t=reflection_map
    		texgen_r=reflection_map
		shininess=40
		specular=1 1 1 1
  	}
 	layer1
  	{
    		map=swtex.tga
    		blendfunc=one src_alpha
  	}
}

shader_fsr1_2
{
  	layer0
  	{
    		map=$trackenvmap
    		texgen_s=reflection_map
    		texgen_t=reflection_map
    		texgen_r=reflection_map
		shininess=40
		specular=1 1 1 1
  	}
 	layer1
  	{
    		map=fsr1.tga
    		blendfunc=one src_alpha
  	}
}

shader_fsr_2_1
{
	layer0
	{
		map=fsr2.tga
	}
}

shader_fsr1_1
{
	layer0
	{
		shininess=10
		specular=0.1 0.1 0.15 1
		map=fsr1-matt.tga
	}
}

shader_lightson
{
  	layer0
  	{
    		map=lights.tga
    		blendfunc=blend
		emission=1 1 1 1
  	}
}

shader_cage
{
  	layer0
  	{
    		map=cage.tga
    		shininess=50
		specular=0.5 0.5 0.5 1
  	}
}

shader_belts
{
	layer0
	{
		map=belts.tga
	}
}

; Blurred rims stage 1
shader_fsr1_2_blur_1
{
 layer0
 {
  map=fsr1-blur-1.tga
  blendfunc=blend
  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
 }
}




; Blurred rims stage 2

shader_fsr1_2_blur_2
{
 layer0
 {
  map=fsr1-blur-2.tga
  blendfunc=blend
  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
 }
}




; Blurred rims stage 0

shader_brakedisk_blur0
{
	layer0
	{
		map=braked_blur_0.tga
		alphafunc=gequal 128 
	}
}
shader_fsr1_2_blur_0
{
 layer0
 {
  map=fsr1-blur-0.tga
  blendfunc=blend
  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
 }
}