
vertex_program tex_vs40_hlsl hlsl
{
	entry_point mainVS
	target vs_4_0
	source default.hlsl

	default_params
	{
		param_named_auto gWorldViewProj worldviewproj_matrix
		param_named_auto gLightPos light_position_object_space 0

	}
}

fragment_program tex_ps40_hlsl hlsl
{
	entry_point mainPS
	target ps_4_0
	source default.hlsl

	default_params
	{
		param_named_auto gAmbient ambient_light_colour
	}
}


vertex_program sys_axes_vs20 hlsl
{
	entry_point mainVS
	target vs_4_0
	source axes.hlsl

	default_params
	{
		param_named gCameraDist float1 10 0 0 0
		param_named_auto gProj projection_matrix
		param_named_auto gView view_matrix
	}
}

fragment_program sys_axes_ps20 hlsl
{
	entry_point mainPS
	target ps_4_0
	source axes.hlsl

	default_params
	{
		param_named gDiffuse float4 1 1 1 1
	}
}

fragment_program outline_ps20 hlsl
{
	entry_point backPS
	target ps_2_0
	source outline.hlsl

	default_params
	{
		param_named gBackColor float4 1 1 1 1
	}
}

xBlur_ps20
{
	entry_point mainVS
	target vs_1_1
	preprocessor_defines blurTime=2
	source blur.hlsl

	default_params
	{
		param_named_auto gWorldViewProj worldviewproj_matrix
	}
}