fragment_program Ogre/Compositor/B&W_Cg_FP hlsl
{
	source GrayScale.cg
	entry_point GrayScale_ps
}

fragment_program Ogre/Compositor/B&W_FP glsl glsles glslang hlsl
{
	source GrayScale.glsl
}

material Ogre/Compositor/BlackAndWhite
{
	technique
	{

		pass
		{
			depth_check off
                        polygon_mode_overrideable false

			vertex_program_ref Ogre/Compositor/StdQuad_Tex2_vp
			{
			}

			fragment_program_ref Ogre/Compositor/B&W_FP
			{
			}

			texture_unit
			{
				tex_coord_set 0
				tex_address_mode clamp
				filtering linear linear linear
			}
		}
	}
}
