//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 $Specular;
//   sampler2D $attenMap;
//   sampler2D $baseMap;
//   sampler2D $bumpMap;
//   samplerCUBE $normCubeMapHA;
//   samplerCUBE $normCubeMapLV;
//   samplerCUBE $projMap;
//
//
// Registers:
//
//   Name           Reg   Size
//   -------------- ----- ----
//   $Ambient       c0       1
//   $Diffuse       c1       1
//   $Specular      c2       1
//   $baseMap       s0       1
//   $bumpMap       s1       1
//   $normCubeMapLV s2       1
//   $normCubeMapHA s3       1
//   $projMap       s4       1
//   $attenMap      s5       1
//

    ps_2_0
    def c3, 2, -1, 1, 0
    dcl t0.xy
    dcl t1.xy
    dcl t2.xyz
    dcl t3.xyz
    dcl t4.xyz
    dcl t5.xy
    dcl v0.xyz
    dcl_2d s0
    dcl_2d s1
    dcl_cube s2
    dcl_cube s3
    dcl_cube s4
    dcl_2d s5
    texld r5, t5, s5
    texld_pp r4, t4, s4
    texld r3, t2, s2
    texld r2, t1, s1
    texld_pp r0, t0, s0
    texld r1, t3, s3
    mad_pp r1.w, c3.x, v0.z, c3.y
    mad_pp r1.w, r1.w, -r1.w, -r5.z
    add_sat_pp r1.w, r1.w, c3.z
    mul_pp r4.xyz, r4, r1.w
    mad r5.xyz, c3.x, r3, c3.y
    mad r3.xyz, c3.x, r2, c3.y
    dp3_sat r2.x, r5, r3
    mul r2.xyz, r0, r2.x
    mad r1.xyz, c3.x, r1, c3.y
    dp3_sat r3.x, r1, r3
    mul r1.xyz, r2, c1
    mul r1.w, r3.x, r3.x
    mul r1.xyz, r4, r1
    mul r1.w, r1.w, r1.w
    add_pp r1.xyz, r1, r1
    mul r1.w, r1.w, r1.w
    mad_pp r1.xyz, c0, r0, r1
    mul r0.w, r0.w, r1.w
    mul r0.xyz, r0.w, c2
    mul r0.xyz, r4, r0
    mad_pp r0.xyz, c3.x, r0, r1
    mov r0.w, c0.w
    mov oC0, r0

// approximately 29 instruction slots used (6 texture, 23 arithmetic)
