//CGVER1.1
// nvparse 1.0 output generated by NVIDIA Cg compiler
// cgc version 1.1.0003, build date Mar  4 2003  12:32:10
// command line args: -q -profile fp20
//vendor NVIDIA Corporation
//version 1.0.02
//profile fp20
//program main
//semantic main.baseMap : TEXUNIT0
//semantic main.detMap0 : TEXUNIT1
//semantic main.detMap1 : TEXUNIT2
//semantic main.detMap2 : TEXUNIT3
//semantic main.Ambient
//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 float4 IN.Color : $vin.COLOR0 : COLOR0 : 0 : 1
//var float3 IN.Color1 : $vin.COLOR1 : COLOR1 : 0 : 1
//var sampler2D baseMap : TEXUNIT0 : texunit 0 : 1 : 1
//var sampler2D detMap0 : TEXUNIT1 : texunit 1 : 2 : 1
//var sampler2D detMap1 : TEXUNIT2 : texunit 2 : 3 : 1
//var sampler2D detMap2 : TEXUNIT3 : texunit 3 : 4 : 1
//var float4 Ambient :  : COMBINER_STAGE_CONST0[1] : 4 : 1
//var float4 Color : $vout.COLOR : COLOR : -1 : 1
!!TS1.0
texture_2d();
texture_2d();
texture_2d();
texture_2d();
// End of program
!!RC1.0
{
  const0 = ( 0.000000, 1.000000, 0.000000, 0.000000 );
  rgb
  {
    spare1 = const0.rgb . col1.rgb;
  }
  alpha
  {
    spare1 = unsigned(col0.b);
  }
}
{
  rgb
  {
    spare0 = const0.rgb * tex0.rgb;
    scale_by_two();
  }
  alpha
  {
    spare0 = tex0.a * const0.a;
  }
}
{
  const0 = ( 0.500000, 0.500000, 0.500000, 0.500000 );
  rgb
  {
    discard = spare1.rgb * tex3.rgb;
    discard = unsigned_invert(spare1.rgb) * const0.rgb;
    spare1 = sum();
  }
}
{
  rgb
  {
    spare0 = spare0.rgb * spare1.rgb;
    scale_by_two();
  }
}
{
  const0 = ( 0.500000, 0.500000, 0.500000, 0.500000 );
  rgb
  {
    discard = spare1.a * tex1.rgb;
    discard = unsigned_invert(spare1.a) * const0.rgb;
    spare1 = sum();
  }
}
{
  rgb
  {
    spare0 = spare0.rgb * spare1.rgb;
    scale_by_two();
  }
  alpha
  {
    spare1 = unsigned(col1.b);
  }
}
{
  const0 = ( 0.500000, 0.500000, 0.500000, 0.500000 );
  rgb
  {
    discard = spare1.a * tex2.rgb;
    discard = unsigned_invert(spare1.a) * const0.rgb;
    spare1 = sum();
  }
}
{
  rgb
  {
    spare0 = spare0.rgb * spare1.rgb;
    scale_by_two();
  }
}

final_product = unsigned(spare0.rgb) * fog.a;
out.rgb = unsigned_invert(fog.a) * fog.rgb + final_product;

out.a = unsigned(spare0.a);
// 11 instructions
// End of program
