
#ifdef VS

void main
(
	float4 ipos : POSITION0,
	float2 itex0 : TEXCOORD0,
	out float4 opos : POSITION0,
	out float2 otex : TEXCOORD0
)
{
	opos = ipos;
	otex = itex0;
}

#elif defined(PS)

sampler2D texOCOL : register(s0);

float4 main( float2 itex : TEXCOORD0 ) : COLOR0
{
	float3 ocol = tex2D( texOCOL, itex ).rgb;
	ocol = max( 0, ocol - 1 );
	return float4( ocol, 1 );
}

#endif
