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

    ps_2_0
    def c3, -0.5, -0.75, 4, 2
    dcl t0.xy
    dcl t1.xy
    dcl t2.xyz
    dcl t3.xyz
    dcl_2d s0
    dcl_2d s1
    dcl_cube s2
    dcl_cube s3
    texld r3, t2, s2
    texld r2, t1, s1
    texld r0, t0, s0
    texld r1, t3, s3
    add r3.xyz, r3, c3.x
    add r4.xyz, r3, r3
    add r2.xyz, r2, c3.x
    add r3.xyz, r2, r2
    dp3_sat r2.x, r4, r3
    mul r2.xyz, r0, r2.x
    add r1.xyz, r1, c3.x
    add r1.xyz, r1, r1
    dp3_sat r3.x, r1, r3
    mul r1.xyz, r2, c0
    add r1.w, r3.x, c3.y
    add r1.xyz, r1, r1
    mul_sat r1.w, r1.w, c3.z
    mad r1.xyz, c2, r0, r1
    mul r1.w, r1.w, r1.w
    mul r0.xyz, r1.w, c1
    mul r0.xyz, r0.w, r0
    mad r0.xyz, c3.w, r0, r1
    mov r0.w, c2.w
    mov oC0, r0

// approximately 24 instruction slots used (4 texture, 20 arithmetic)
