// crystarium and time travel menu annoying animated elements, removed
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   sampler2D distortionMap;
//   float4 distortionModelCenter;
//   float2 distortionNormalPower;
//   float4 distortionParam;
//   float2 distortionPivot;
//   float4 distortionRotMatrix[3];
//   float4 fogColor;
//   float3 latitudeParam;
//   sampler2D screenMap;
//   float4 viewProjMatrix[4];
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   distortionRotMatrix   c21      3
//   viewProjMatrix        c24      3
//   latitudeParam         c27      1
//   fogColor              c28      1
//   distortionParam       c29      1
//   distortionNormalPower c30      1
//   distortionModelCenter c31      1
//   distortionPivot       c32      1
//   screenMap             s0       1
//   distortionMap         s1       1
//
//
// Default values:
//
//   latitudeParam
//     c27  = { 1, 0, 1, 0 };
//
//   fogColor
//     c28  = { 1, 1, 1, 0 };
//
//   distortionParam
//     c29  = { 1, 0, 0, 0 };
//
//   distortionNormalPower
//     c30  = { 0, 0, 0, 0 };
//
//   distortionModelCenter
//     c31  = { 0, 0, 0, 1 };
//
//   distortionPivot
//     c32  = { 0, 0, 0, 0 };
//

    ps_3_0
	//def c222, Const1, Const2, Const3, Const4
	def c223, 0, 1, 0.85, 2	// new			
    def c0, -1, 0.5, 1, 0
    dcl_texcoord v0
    dcl_texcoord2 v1.xyw
    dcl_texcoord3 v2.xyz
    dcl_texcoord4 v3.xy
    dcl_texcoord6_pp v4.w
    dcl_2d s0
    dcl_2d s1
    nrm_pp r0.xyz, v2
    mul r0.yw, r0.y, c25.xxzy
    mad r0.xy, r0.x, c24, r0.ywzw
    mad r0.xy, r0.z, c26, r0
    mad r0.xy, r0, -c30.x, v1
    rcp r0.z, v1.w
    mul r1.xy, r0, r0.z
    mad r0.xy, r0, -r0.z, c31
    mov r0.z, c23.w
    dp3 r2.x, c21, r0
    dp3 r2.y, c22, r0
    mad r0.zw, r2.xyxy, c29.w, r1.xyxy
    mov r1.x, c0.x
    add r1.x, r1.x, c29.x
    mul r0.xy, r0, r1.x
    texld_pp r1, v3, s1
    mad r0.xy, r0, r1.w, r0.zwzw
    add r0.xy, r0, c32
    mad r0.xy, c29.yzzw, r1.w, r0
    mad r0.xy, r0, c0.y, c0.y
    add r0.z, -r0.y, c0.z
    texld_pp r0, r0.xzzw, s0
    mov_pp r1.xyz, r0
    mul_pp r0, r1, v0
    mad_pp r1.xyz, v0, -r1, c28
    min_pp r1.w, c28.w, v4.w
    mad_pp r0.xyz, r1.w, r1, r0
    mov_pp oC0.w, r0.w
    mad_pp r0.xyz, r0, c27.x, c27.y
    mul_pp oC0.xyz, r0, c27.z
	
	mov oC0.xyzw, c223.xxxx	
// approximately 32 instruction slots used (2 texture, 30 arithmetic)
 