ps_3_0 def c0, 0.50999999, 512, 0.25, 256 def c1, 0.99609375, 7.96875, 63.75, -127.999992 def c2, 0.5, 9.99999975e-006, 1, -0.100000001 def c3, 1.11111116, 0, 0, 0 def c4, -0.100000001, 1.11111116, 0, 0 def c175, 0, 0, 2, -1 def c194, 7, 4, 7, 0.5 def c195, 0.25, 0.333000004, 7, 3 def c197, 3, 0.300000012, 0, 3 dcl_texcoord v0 dcl vPos.xy dcl_2d s0 dcl_2d s1 dcl_2d s2 dcl_2d s4 dcl_2d s5 dcl_2d s6 add r0.xy, c0.x, vPos mul r0.xy, r0, c77.zwzw texld r1, r0, s1 mul r2.xyz, r1.w, c1 frc r2.xyz, r2 add r3.xyz, r2, r2 mad r3.xy, r2.yzzw, -c0.z, r3 mad r1.xyz, r1, c0.w, r3 add r1.xyz, r1, c1.w nrm r2.xyz, r1 texld r1, r0, s4 mad r0.z, r1.x, c78.z, -c78.w mul r0.z, r0.z, v0.w rcp r0.z, r0.z mad r1.xyz, v0, -r0.z, c2.y mad r3.xyz, v0, -r0.z, c15 add r3.xyz, -r3, c66 nrm r4.xyz, r1 dp3 r0.z, r4, r2 add r0.z, r0.z, r0.z mad r1.xyz, r2, -r0.z, r4 add r4.xyz, r3, c2.y dp3 r0.z, r3, r3 mov r3.z, c2.z mad_sat r0.z, r0.z, -c73.x, r3.z mul r0.z, r0.z, r0.z mad r0.z, r0.z, r0.z, c2.w nrm r3.xyz, r4 dp3_sat r0.w, r3, r1 texld r1, r0, s2 texld r4, r0, s0 mul r0.x, r1.y, r1.y mul r0.x, r0.x, c0.y pow r1.y, r0.w, r0.x mul r0.x, r0.z, c3.x dp3 r0.y, r3, -c72 dp3_sat r0.w, r3, r2 pow r1.y, r1.y, c198.z add r0.y, r0.y, -c74.x mul_sat r0.y, r0.y, c75.x mul r0.x, r0.x, r0.y mul r2.xyz, c76.w, c76 mul r2.xyz, r0.x, r2 cmp r0.xyz, r0.z, r2, c3.y mul r2.xyz, r1.y, r0 mul r0.xyz, r0.w, r0 mul r0.xyz, r4, r0 add r0.w, r1.x, r1.x mad_sat r1.x, r1.z, r1.z, c2.x mad r0.xyz, r0.w, r2, r0 mov r0.w, c2.z mul r0.xyz, r0, c193 mul oC0.xyz, r0, c198.x mov oC0.w, r0.w