//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float AnimatedLightScale;
//   float DeadVertDisplacement;
//   float Time;
//   float TimeScale;
//   float TransitionWeight;
//   float VertDisplacement;
//   float4 fogColor;
//   float3 fogTransform;
//   float3 localEyePos;
//   row_major float3x3 localToWorld;
//   row_major float3x4 screenDataToCamera;
//   float4 screenTransform[2];
//   row_major float4x4 worldViewProj;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   worldViewProj        c0       4
//   screenDataToCamera   c4       3
//   localToWorld         c7       3
//   screenTransform      c10      2
//   fogColor             c12      1
//   fogTransform         c13      1
//   localEyePos          c14      1
//   TransitionWeight     c15      1
//   Time                 c16      1
//   TimeScale            c17      1
//   VertDisplacement     c18      1
//   DeadVertDisplacement c19      1
//   AnimatedLightScale   c20      1
//
//
// Default values:
//
//   worldViewProj
//     c0   = { 0, 0, 0, 0 };
//     c1   = { 0, 0, 0, 0 };
//     c2   = { 0, 0, 0, 0 };
//     c3   = { 0, 0, 0, 0 };
//
//   screenDataToCamera
//     c4   = { 0, 0, 0, 0 };
//     c5   = { 0, 0, 0, 0 };
//     c6   = { 0, 0, 0, 0 };
//
//   localToWorld
//     c7   = { 0, 0, 0, 0 };
//     c8   = { 0, 0, 0, 0 };
//     c9   = { 0, 0, 0, 0 };
//
//   screenTransform
//     c10  = { 0, 0, 0, 0 };
//     c11  = { 0, 0, 0, 0 };
//
//   fogColor
//     c12  = { 0, 0, 0, 0 };
//
//   fogTransform
//     c13  = { 0, 0, 0, 0 };
//
//   localEyePos
//     c14  = { 0, 0, 0, 0 };
//
//   TransitionWeight
//     c15  = { 0, 0, 0, 0 };
//
//   Time
//     c16  = { 0, 0, 0, 0 };
//
//   TimeScale
//     c17  = { 0, 0, 0, 0 };
//
//   VertDisplacement
//     c18  = { 0, 0, 0, 0 };
//
//   DeadVertDisplacement
//     c19  = { 0, 0, 0, 0 };
//
//   AnimatedLightScale
//     c20  = { 0, 0, 0, 0 };
//

    vs_3_0
  def c253, 0.5, 0, 0.0625, 1
    def c21, 0.100000001, 1, 0, 1.44269502
    def c22, 0.00784313772, -1, 3.14159012, 1.70000005
    def c23, 0.159154937, 0.5, 6.28318548, -3.14159274
  dcl_2d s1
    dcl_position v0
    dcl_tangent v1
    dcl_binormal v2
    dcl_normal v3
    dcl_texcoord v4
    dcl_color1 v5
    dcl_texcoord6 o0
    dcl_texcoord7 o1
    dcl_texcoord o2.xy
    dcl_texcoord3 o3.xyz
    dcl_texcoord4 o4.xyz
    dcl_texcoord5 o5.xyz
  dcl_texcoord8 o10.x
    dcl_position o6
    mul r0.x, c22.z, v5.z
    mov r1.x, c16.x
    mad r0.x, r1.x, c17.x, r0.x
    mad r0.y, r0.x, c23.x, c23.y
    frc r0.y, r0.y
    mad r0.y, r0.y, c23.z, c23.w
    sincos r1.y, r0.y
    mad r0.x, r1.y, c22.w, r0.x
    mad r0.x, r0.x, c23.x, c23.y
    frc r0.x, r0.x
    mad r0.x, r0.x, c23.z, c23.w
    sincos r1.y, r0.x
    mov r0.x, c18.x
    add r0.y, -r0.x, c19.x
    mad r0.x, c15.x, r0.y, r0.x
    mul r0.x, r0.x, v5.x
    mul r0.x, r1.y, r0.x
    mad r0.yzw, v3.xxyz, c22.x, c22.y
    mad r1.xyz, r0.x, r0.yzww, v0
    mul r0.x, r0.x, c20.x
    add r2.xyz, -r1, c14
    mad r3.xyz, v1, c22.x, c22.y
    dp3 o1.x, r2, r3
    mad r4.xyz, v2, c22.x, c22.y
    dp3 o1.y, r2, r4
    mul r5.xyz, r0.x, r3
    mul r6.xyz, r0.x, r4
    mad r0.xyz, r5, c21.x, r0.yzww
    mad r0.xyz, r6, -c21.x, r0
    nrm r5.xyz, r0
    dp3 o1.z, r2, r5
    mov r1.w, v0.w
    dp4 r0.x, c0, r1
    dp4 r0.y, c1, r1
    dp4 r0.z, c2, r1
    dp4 r0.w, c3, r1
  dp4 o10.x, c10, r0
    dp4 r1.x, c10, r0
    dp4 r1.y, c11, r0
    mov o6, r0
    mad r1.zw, r0.w, c21.xyyz, c21.xyzy
    dp4 r0.x, c4, r1
    dp4 r0.y, c5, r1
    dp4 r0.z, c6, r1
    mov r10.xyw, r1.xyzz
    dp3 r0.x, r0, r0
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    mad r0.x, r0.x, c13.x, c13.y
    mul r0.x, r0.x, c21.w
    exp_sat r0.x, r0.x
    mad r0.x, c12.w, -r0.x, c12.w
    mul r10.z, r0.x, c13.z
    mul r0.xyz, r3.y, c8
    mad r0.xyz, r3.x, c7, r0
    mad o3.xyz, r3.z, c9, r0
    mul r0.xyz, r4.y, c8
    mad r0.xyz, r4.x, c7, r0
    mad o4.xyz, r4.z, c9, r0
    mul r0.xyz, r5.y, c8
    mad r0.xyz, r5.x, c7, r0
    mad o5.xyz, r5.z, c9, r0
    mov o1.w, -c22.y
    mov o2.xy, v4
 texldl r11, c253.z, s1
 add r11.y, r10.w, -r11.y
 mul r11.x, r11.x, r11.y
 mul r11.x, r11.x, c253.x
 add r10.x, r10.x, r11.x
 mov o0, r10

// approximately 79 instruction slots used
 

