vf_reflect
{
	vertex_shader
	{
		file=dyn_standard_reflect_v.cg
	}
	fragment_shader
	{
		file=dyn_standard_reflect_f.cg
	}
}

vf_standard
{
	vertex_shader
	{
		file=dyn_standard_v.cg
	}
	fragment_shader
	{
		file=standard_f.cg
	}
}

vf_reflect_window
{
	vertex_shader
	{
		file=dyn_standard_reflect_window_v.cg
	}
	fragment_shader
	{
		file=dyn_standard_reflect_window_f.cg
	}
}

; materials

shader_badges~vf_standard
{
	cast_shadow=0
	compression=0
	shininess=16
	sort_offset=1
	specular=1.00 1.00 1.00 1.00
	layer0
	{
		map=badges.tga
		blendfunc=blend
	}
}

shader_dash~vf_standard
{
	compression=0
	shininess=16
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=dash.tga
	}
}

shader_glass~vf_reflect_window
{
	cast_shadow=0
	compression=0
	reflect=1.0
	shininess=0
	sort_offset=1
	specular=0.00 0.00 0.00 1.00
	fresnel
	{
		bias=0.1
		power=2.0
		scale=0.8
	}
	layer0
	{
		map=glass.tga
		blendfunc=blend
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_interior~vf_standard
{
	compression=0
	shininess=16
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=interior.tga
	}
}

shader_lights~vf_reflect_window
{
	cast_shadow=0
	compression=0
	reflect=0.1
	shininess=16
	sort_offset=1
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=lights.tga
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_lightson~vf_reflect_window
{
	cast_shadow=0
	compression=0
	reflect=0.1
	shininess=16
	sort_offset=1
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=lightson.tga
		emission=40.00 40.00 40.00 1.00
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_mirror~vf_standard
{
	cast_shadow=0
	compression=0
	diffuse=0.10 0.10 0.10 1.00
	layer0
	{
   		map=$mirror
    		texscale_s=1
    		texscale_r=1
    		texscale_t=1
	}
}

shader_remap_hummer~vf_reflect
{
	compression=0
	material=metal
	reflect=0.2
	shininess=16
	specular=0.00 0.00 0.00 1.00
	fresnel
	{
		bias=0.1
		power=2.0
		scale=0.9
	}
	layer0
	{
		map=remap_hummer.tga
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_reverselight~vf_reflect_window
{
	cast_shadow=0
	compression=0
	reflect=0.1
	shininess=16
	sort_offset=1
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=reverselight.tga
		emission=40.00 40.00 40.00 1.00
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_steeringwheel~vf_standard
{
	compression=0
	shininess=16
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=steeringwheel.tga
	}
}

shader_tyre~vf_standard
{
	compression=0
	layer0
	{
		map=tyre.tga
	}
}

shader_vehiclelights128~vf_reflect_window
{
	cast_shadow=0
	compression=0
	reflect=0.1
	shininess=16
	sort_offset=1
	specular=0.10 0.10 0.10 1.00
	layer0
	{
		map=vehiclelights128.tga
		;blendfunc=blend
	}
	layer1
	{
		map=$trackenvmap
	}
}

shader_wheel~vf_standard
{
	compression=0
	shininess=16
	specular=1.00 1.00 1.00 1.00
	layer0
	{
		map=wheel.tga
	}
}