// Materials for deferred shading test
// Sky box
material DeferredDemo/SkyBox
{
	technique
	{
		pass
		{
			depth_write off
			lighting off
			texture_unit
			{
				cubic_texture evening.jpg separateUV
				tex_address_mode clamp
			}
		}
	}
}
// Ground plane
material DeferredDemo/Ground
{
	technique
	{
		pass main
		{
			texture_unit
			{
				texture grass_1024.jpg
			}
		}
	}
}
// Rock wall texture [bumpmapped]
material DeferredDemo/RockWall
{
	technique
	{
		pass main
		{
			specular 0 0 0 1 0.6
			texture_unit
			{
				texture rockwall.tga
			}
			//This directive will allow the framework to pick up on the fact
			//that this texture is a normal map
			texture_unit NormalMap
			{
				texture rockwall_NH.tga
			}
		}
	}
}

// Athena texture [bumpmapped, untextured]
material DeferredDemo/DeferredAthena
{
	technique
	{
		pass main
		{
			diffuse 0.7 0.7 0.7
			specular 1.0 1.0 1.0 1.0 0.5
			
			texture_unit
			{
				//The fact that the texture has 'normal' in the name will allow the framework
				//to understand that it is a normal map
				texture atheneNormalMap.png
			}
		}
	}
}
