////////////////////////////////////////////////////////////////
///
/// Samplers
///
////////////////////////////////////////////////////////////////
sampler SAMPLER0 : register (s0);		///< texture to blur
sampler SAMPLER1 : register (s1);		///< texture to blur

////////////////////////////////////////////////////////////////
///
/// main
///
////////////////////////////////////////////////////////////////
void
	main
	(
		float2		in_texcoord0	: TEXCOORD0,
		out float4	out_color0		: COLOR0
	)
{
	const float texel0 = tex2D(SAMPLER0, in_texcoord0).a;
	const float4 texel1 = tex2D(SAMPLER1, in_texcoord0);
	
	out_color0.rgb = texel1.rgb;
	out_color0.a = (1.f - texel0) * texel1.a;
}
