/*=============================================================================
	SimpleElementHitProxyPixelShader.hlsl: Pixel shader for drawing simple element hit proxies.
	Copyright © 2006 Epic Games, Inc. All Rights Reserved.
=============================================================================*/

#include "Common.usf"

sampler2D Texture;

void Main(
	in float2 TextureCoordinate : TEXCOORD0,
	in float4 Color : COLOR,
	in float4 HitProxyId : COLOR1,
	out float4 OutColor : COLOR0
	)
{
	OutColor = float4(HitProxyId.rgb,tex2D(Texture,TextureCoordinate).a * Color.a);
}
