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

    ps_2_0
    def c1, -0.5, 1, -0.75, 4
    dcl t0.xy
    dcl t1.xy
    dcl t2.xyz
    dcl t3.xyz
    dcl t4.xy
    dcl v0.xyz
    dcl_2d s0
    dcl_2d s1
    dcl_cube s2
    dcl_cube s3
    dcl_2d s4
    texld r4, t1, s1
    texld r3, t2, s2
    texld r2, t4, s4
    texld_pp r1, t3, s3
    texld_pp r0, t0, s0
    add r0.xyz, r4, c1.x
    add r4.xyz, r0, r0
    add r0.xyz, r3, c1.x
    add r0.xyz, r0, r0
    dp3_sat r0.x, r0, r4
    add r1.w, r0.x, c1.z
    mul_sat_pp r1.w, r1.w, c1.w
    mul_pp r2.w, r1.w, r1.w
    add r1.w, v0.z, c1.x
    add r1.w, r1.w, r1.w
    mad r1.w, r1.w, -r1.w, -r2.z
    mul r0.xyz, r2.w, c0
    add_sat_pp r1.w, r1.w, c1.y
    mul r0.xyz, r0, r1.w
    mul r0.xyz, r1, r0
    add_pp r0.xyz, r0, r0
    mul r0.w, r0.w, c0.w
    mov oC0, r0

// approximately 23 instruction slots used (5 texture, 18 arithmetic)
