
shader_tx_body
{
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		mipmap=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
		mipmap=0
	}
	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=tx_body_r.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}

shader_metal
{
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		emission=1 1 1 1
		mipmap=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
		mipmap=0
	}
	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=metal.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}

shader_crome
{
	layer0
	{
		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
	}
	layer1
	{
		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
	}
	layer2
	{
		map=crome.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}

shader_plate_fr
{
	compression=0
  	specular=1 1 1
  	shininess=80
	layer0
	{
		map=plate.tga
                
	}	
}

shader_glass
{
	sort_offset=1
	layer0
	{
		map=glass.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=55
		specular=0.55 0.55 0.55
	}
}

shader_tx_headlamp
{
	sort_offset=1
	layer0
	{
		map=tx_headlamp.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=55
		specular=0.55 0.55 0.55
	}
}

shader_lights_tr_re
{
  	specular=1 1 1
  	shininess=80
	layer0
	{
		map=lights.tga
		blendfunc=blend
		;depthwrite=0
		;shininess=64
	}
	layer1
	{
		map=$trackenvmap
		blendfunc=src_color one_minus_src_color
		;blendfunc=blend
		;blendfunc=filter
		;depthwrite=0
            ;ambient=0 0 0 0
	}
}

shader_lights
{
	layer0
	{
		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
	}
	layer1
	{
		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
	}
	layer2
	{
		map=lights.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}

shader_tx_misc
{
	layer0
	{
		map=tx_misc.tga
	}
}

shader_tx_und1
{
	layer0
	{
		map=tx_und1.tga
	}
}

shader_tx_eng
{
	layer0
	{
		map=tx_eng.tga
	}
}

shader_tx_int1
{
	layer0
	{
		map=tx_int1.tga
	}
}

shader_tx_int2
{
	layer0
	{
		map=tx_int2.tga
	}
}

shader_tx_tire
{
	layer0
	{
		map=tx_tire.tga
	}
}

;shader_f430logo1~vf_standard
{
	layer0
	{
		map=f430logo1.tga
		blendfunc=blend
    		;depthwrite=0
	}
}

;shader_rim~vf_reflect
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430wheel.tga
		
	}
	layer1

	{
		map=$trackenvmap
		
	}
	
}
;shader_rimblur1~vf_reflect
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430rim_blur.tga
		;blendfunc=one src_alpha
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}

;shader_rimblur2~vf_reflect
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430rim_blur.tga
		;blendfunc=one src_alpha
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}

;shader_rimblur3~vf_reflect
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430rim_blur.tga
		;blendfunc=one src_alpha
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}

;shader_spokesblur1~vf_spoke
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430wheel_blur.tga
		;blendfunc=one src_alpha
		blendfunc=blend
		;alphafunc=greater 0
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}

;shader_spokesblur2~vf_spoke
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430wheel_blurII.tga
		blendfunc=blend
		;alphafunc=greater 0
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}

;shader_spokesblur3~vf_spoke
{
	reflect=0.4
  	specular=0.8 0.8 0.8
  	shininess=124
	layer0
	{
		map=f430wheel_blurII.tga
		blendfunc=blend
		;alphafunc=greater 0
		
	}
	
	layer1
	{
		map=$trackenvmap
		
	}
	
}


;shader_sidewall~vf_standard
{
	layer0
	{
		map=f430wheel.tga
		shininess=20
		specular=0.2 0.2 0.2
	}
}
;shader_sidewallblur1~vf_standard
{
	layer0
	{
		map=f430wheel_blur.tga
		shininess=20
		specular=0.2 0.2 0.2
	}
}
;shader_sidewallblur2~vf_standard
{
	layer0
	{
		map=f430wheel_blurII.tga
		shininess=20
		specular=0.2 0.2 0.2
	}
}
;shader_sidewallblur3~vf_standard
{
	layer0
	{
		map=f430wheel_blurII.tga
		shininess=20
		specular=0.2 0.2 0.2
	}
}
;shader_tread~vf_standard
{
	layer0
	{
		map=f430tread.tga
	}
}
;shader_treadblur~vf_standard
{
	layer0
	{
		map=f430tread_blur.tga
	}
}
;shader_brake~vf_standard
{
	layer0
	{
		map=f430brake.tga
	}
}
;shader_brakeblur~vf_standard
{
	layer0
	{
		map=f430brake_blur.tga
	}
}

;shader_f430blights~vf_standard
{
layer0
{
map=f430lightson.tga
;blendfunc=src_alpha one_plus_src_alpha
blendfunc=blend
;ambient=0.2 0.2 0.2 0.2
specular=0 0 0 1
;diffuse=0 0 0 0
emission=2 2 2 1
shininess=0
}
}

;shader_f430lightson~vf_standard
{
layer0
{
map=f430lightson.tga
;blendfunc=src_alpha one_plus_src_alpha
blendfunc=blend
;ambient=0.2 0.2 0.2 0.2
specular=0 0 0 1
;diffuse=0 0 0 0
emission=2 2 2 1
shininess=0
}
}

;shader_f430lightsonf~vf_standard
{
layer0
{
map=f430lightson.tga
blendfunc=src_alpha one_plus_src_alpha
;blendfunc=blend
;ambient=0 0 0 0
specular=0 0 0 1
;diffuse=0 0 0 0
emission=2.2 2.2 2.2 1
shininess=0
}
}

;shader_rearlight~vf_standard
{
layer0
{
map=rearlight.tga
;blendfunc=src_alpha one_plus_src_alpha
blendfunc=blend
;ambient=0.2 0.2 0.2 0.2
specular=0 0 0 1
;diffuse=0 0 0 0
emission=1.6 1.6 1.6 1
shininess=0
}
}

;shader_rpmneedle~vf_standard
{ 
  layer0
  { 
    map=rpmneedle.tga 
    
  } 
  layer1 
  { 
    map=$trackenvmap
    
  } 
  
}

;shader_kmhneedle~vf_standard
{ 
  layer0 
  { 
    map=rpmneedle.tga 
    
  } 
  layer1
  { 
    map=$trackenvmap
    
  } 
  
}

;shader_f430shadow
{
  layer0
  {
    map=f430shadow.tga
    blendfunc=blend
    texenv=replace
    depthwrite=0
  }
}

;shader_shadow
{
cull=none
layer0
{
map=shadow.tga
blendfunc=one_src_alpha
;blendfunc=src_color one_minus_src_alpha
depthwrite=0
}
}
;shader_wing~vf_standard
{
layer0
{
map=CWwing0.tga
shininess=10
specular=0.75 0.75 0.75
}
}
