//CGVER3.4
//
// Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
//
//   fxc /T ps_2_0 /DCGC=0 /Fc $$out.cg $$in.cg
//
//
// Parameters:
//
//   float4 $Ambient;
//   float4 $Diffuse;
//   float4 $Fading;
//   sampler2D $baseMap;
//   sampler2D $shadMap0;
//   sampler2D $shadMap1;
//   sampler2D $shadMap2;
//
//
// Registers:
//
//   Name         Reg   Size
//   ------------ ----- ----
//   $Ambient     c0       1
//   $Diffuse     c1       1
//   $Fading      c2       1
//   $shadMap0    s0       1
//   $shadMap1    s1       1
//   $shadMap2    s2       1
//   $baseMap     s3       1
//

    ps_2_0
    def c3, 1, 0, 0, 0
    dcl t0
    dcl t1
    dcl t2
    dcl t3.xy
    dcl v0
    dcl v1.xyz
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    dcl_2d s3
    texldp_pp r3, t0, s0
    texldp_pp r2, t1, s1
    texldp_pp r1, t2, s2
    texld_pp r0, t3, s3
    add_pp r1.x, -r3.z, c3.x
    add_pp r1.y, -r2.z, c3.x
    add_pp r1.z, -r1.z, c3.x
    mul_pp r1.xyz, r1, c2
    dp3_pp r2.x, r1, c3.x
    mul r1.xyz, r0, c1
    mul r1.xyz, r1, v1
    mul_pp r1.xyz, r1, v0
    add_pp r1.w, -r2.x, c3.x
    add_pp r1.xyz, r1, r1
    mul_pp r1.xyz, r1.w, r1
    mul r0.w, r0.w, c0.w
    mad_pp r0.xyz, r0, c0, r1
    mul r0.w, r0.w, v0.w
    mov oC0, r0

// approximately 19 instruction slots used (4 texture, 15 arithmetic)
