//CGVER2.0
// nvparse 1.0 output generated by NVIDIA Cg compiler
// cgc version 1.1.0003, build date Jul  7 2003  11:55:19
// command line args: -q -profile fp20 -entry main -DCGC=1
//vendor NVIDIA Corporation
//version 1.0.02
//profile fp20
//program main
//semantic main.shadowMap0 : TEXUNIT0
//semantic main.baseMap : TEXUNIT1
//semantic main.Ambient
//semantic main.Fading
//var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
//var float4 IN.Tex1 : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
//var float4 IN.Tex2 : $vin.TEXCOORD2 : TEXCOORD2 : 0 : 1
//var sampler2D shadowMap0 : TEXUNIT0 : texunit 0 : 1 : 1
//var sampler2D baseMap : TEXUNIT1 : texunit 1 : 2 : 1
//var float4 Ambient :  : COMBINER_STAGE_CONST0[1] : 3 : 1
//var float4 Fading :  : COMBINER_STAGE_CONST0[5] : 4 : 1
//var float4 Color : $vout.COLOR : COLOR : -1 : 1
!!TS1.0
texture_2d();
texture_2d();
texture_2d();
pass_through();
// End of program
!!RC1.0
{
  const0 = ( 0.000000, 1.000000, 0.000000, 0.000000 );
  rgb
  {
    spare1 = tex3.rgb . const0.rgb;
  }
  alpha
  {
    spare0 = tex3.b * unsigned_invert(zero.a);
  }
}
{
  rgb
  {
    spare0 = tex2.rgb * const0.rgb;
  }
  alpha
  {
    discard = zero.a * unsigned_invert(zero.a);
    discard = unsigned_invert(tex0.b) * unsigned_invert(zero.a);
    spare1 = mux();
  }
}
{
  const0 = ( 1.000000, 0.000000, 0.000000, 0.000000 );
  rgb
  {
    col0 = spare1.a * const0.rgb;
  }
  alpha
  {
    spare0 = spare1.b * unsigned_invert(zero.a);
  }
}
{
  alpha
  {
    discard = zero.a * unsigned_invert(zero.a);
    discard = unsigned_invert(tex1.b) * unsigned_invert(zero.a);
    spare0 = mux();
  }
}
{
  const0 = ( 0.000000, 1.000000, 0.000000, 0.000000 );
  rgb
  {
    discard = const0.rgb * spare0.a;
    discard = col0.rgb * unsigned_invert(zero);
    spare1 = sum();
  }
}
{
  rgb
  {
    spare1 = spare1.rgb * const0.rgb;
  }
}
{
  const0 = ( 0.000000, 1.000000, 0.000000, 0.000000 );
  rgb
  {
    spare1 = spare1.rgb . const0.rgb;
  }
}
out.rgb = unsigned(spare0.rgb);
out.a = unsigned(spare1.b);
// 7 instructions
// End of program
