material FullMoonSky
{
	technique
	{
		pass
		{
			lighting off

			texture_unit
			{
				cubic_texture fullmoon.jpg combinedUVW
				tex_address_mode clamp
				env_map cubic_reflection
			}
		}
	}
}

vertex_program gridlightvp  hlsl
{
	source gridlight.hlsl
	target vs_3_0
	entry_point gridlight_vp
	default_params
	{
		param_named_auto worldViewProj worldviewproj_matrix
		param_named_auto world world_matrix
	}
}
fragment_program gridlightfp  hlsl
{
	source gridlight.hlsl
	target ps_3_0
	entry_point gridlight_fp
	default_params
	{
		param_named_auto light light_position 0
	}
}

material gridlight
{
	technique
	{
		pass
		{
			lighting off
			ambient 0 0 0
			diffuse vertexcolour
			vertex_program_ref gridlightvp
			{
			}
			fragment_program_ref gridlightfp
			{
			}
			texture_unit
			{
				texture FAKE
				tex_address_mode clamp
				filtering none
			}
		}
	}
}

