material Grid
{
	receive_shadows off
	technique high
	{
		pass
		{
			depth_write off
			lighting off
		}
	}
}

material CoveringTile
{
	technique
	{
		pass
		{
			ambient 0 0 0
			diffuse 0 0 0
			specular 0 0 0 1
			emissive 0 0 0
			depth_write off
			scene_blend alpha_blend
			fog_override true
		}
	}
}

material RedTile : CoveringTile
{
	technique
	{
		pass
		{
			emissive 1 0 0 1
		}
	}
}

material GreenTile : CoveringTile
{
	technique
	{
		pass
		{
			emissive 0 1 0 1
			depth_check off
		}
	}
}

material BlueTile : CoveringTile
{
	technique
	{
		pass
		{
			emissive 0 0.5 1 1
		}
	}
}

material RedTileLine : CoveringTile
{
}

material GreenTileLine : CoveringTile
{
	technique
	{
		pass
		{
			depth_write off
			depth_check off
		}
	}
}

material BlueTileLine : CoveringTile
{
}

material EditorSelector
{
	receive_shadows off
	technique
	{
		pass
		{
			ambient 1 1 1
			
			fog_override true
			depth_write off
			lighting off
			scene_blend alpha_blend
			alpha_rejection greater 90
			cull_software none
			cull_hardware none
			texture_unit
			{
				texture selectoreditor.png
				filtering trilinear
			}
		}
	}
}
