//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   sampler2D DiffuseTexSampler;
//   sampler2D FrameMapTexSampler;
//   float HybridAdd;
//   float3 LightColor;
//   sampler2D NormalMapTexSampler;
//   float gIntensity;
//   float gNormalScale;
//   float gPower;
//   float gZdampen;
//   float ghorizScale;
//   float gvertScale;
//
//
// Registers:
//
//   Name                Reg   Size
//   ------------------- ----- ----
//   HybridAdd           c64      1
//   LightColor          c65      1
//   ghorizScale         c66      1
//   gvertScale          c67      1
//   gIntensity          c68      1
//   gPower              c69      1
//   gNormalScale        c70      1
//   gZdampen            c71      1
//   DiffuseTexSampler   s0       1
//   NormalMapTexSampler s1       1
//   FrameMapTexSampler  s2       1
//

    ps_3_0
    def c219, 1.8395173895e+25, 3.9938258725e+24, 4.5435787456e+30, 1.1714855162e-42 // 836
    def c0, 2, -1, 0.159154937, 0.5
    def c1, 6.28318548, -3.14159274, 0, 0
    dcl_color v0
    dcl_texcoord v1.xy
    dcl_texcoord1 v2.xy
    dcl_texcoord2 v3.yzw
    dcl_texcoord3 v4.x
    dcl_texcoord5 v5.xyz
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    mad r0.x, v3.y, c0.z, c0.w
    frc r0.x, r0.x
    mad r0.x, r0.x, c1.x, c1.y
    sincos r1.xy, r0.x
    texld r0, v2, s1
    mad r0.xyz, r0, c0.x, c0.y
    mul r1.zw, r0.xyxy, c70.x
    mul r2.x, r1.y, r1.w
    mad r2.x, r1.z, r1.x, -r2.x
    dp2add r1.x, r1.zwzw, r1.yxzw, c1.z
    rcp r1.y, c66.x
    mov_sat r1.zw, v3
    mad r2.x, r2.x, r1.y, r1.z
    rcp r1.y, c67.x
    mad r2.y, r1.x, -r1.y, r1.w
    texld r1, r2, s2
    mul r0.w, r0.z, c71.x
    mul r0.xyz, r0.xyww, c68.x
    mov r0.w, -r0.y
    dp3 r0.x, r0.xwzw, v5
    pow r1.w, r0_abs.x, c69.x
    mul r0.xyz, r1.w, c65
    mad r0.xyz, r1, v0, r0
    texld r1, v1, s0
    mul r0.w, r1.w, v0.w
    mul r1.xyz, r0.w, r0
    abs r2.x, c64.x
    add r2.y, -c0.y, -v4.x
    mul r1.w, r0.w, r2.y
    cmp oC0, -r2.x, r0, r1

// approximately 40 instruction slots used (3 texture, 37 arithmetic)
