abstract pass TLayerPass
{
	lighting                off
	depth_write             off
	depth_check             off
	scene_blend             src_alpha one_minus_src_alpha
    alpha_rejection         greater 0
	texture_unit
	{
		tex_address_mode    clamp
		colour_op_ex        modulate src_diffuse src_texture
		alpha_op_ex         modulate src_diffuse src_texture
		texture				$texture
	}
}

abstract material TLayerMaterial
{
	receive_shadows off

	technique nofilter
	{
		pass nofilterpass : TLayerPass
		{
			texture_unit
			{
				filtering           none
			}
		}
	}
	technique dofilter
	{
		pass dofilterpass : TLayerPass
		{
			texture_unit
			{
				filtering           bilinear
			}
		}
	}
}