PS3.0 DCL s0 2D DCL s1 2D DCL s2 2D DCL s3 2D DCL s4 2D DCL s5 2D DCL s6 2D DCL s7 CUBE DCL s8 2D DCL s9 2D DEF c7 { 1.010000 0.000000 1.000000 0.950000 } DEF c8 { 2.000000 -1.000000 -0.040009 0.040009 } DEF c9 { 0.219971 0.707031 0.070984 8.000000 } DEF c10 { 0.212646 0.715332 0.072205 0.000000 } DEF c11 { -0.408248 -0.707107 0.577350 0.000000 } DEF c12 { -0.408248 0.707107 0.577350 0.000000 } DEF c13 { 0.816497 0.000000 0.577350 0.000000 } DCL v0 COLOR0 DCL v1.xyz_ TEXCOORD0 DCL v2.xyz_ TEXCOORD1 DCL v3.xyz_ TEXCOORD2 DCL v4.xyz_ TEXCOORD3 DCL v5.xy__ TEXCOORD4 TEX r0 v1 s1 MUL r2.x___ v0 c7 TEX r1 v1 s0 ADD r2._y__ r0.wwww -(r2).xxxx CMP pp r1.xyz_ -(r2).yyyy r1 r0 ADD r0.x___ -(r0).wwww r2 CMP r0.__z_ r0.xxxx c7.yyyy c7 TEX r0.x___ v1 s3 TEX r0._y__ v1 s2 MOV pp r3.___w r0.xxxx MUL pp r1 r1 c4 MUL r2.___w v0 r0.yyyy IFC_1 r0.wwww r2.xxxx TEX r0.x___ v1 s4 MOV pp r3.___w r0.xxxx ENDIF TEX r0._y_w v1 s5 MAD pp r3.xy__ r0.wyzw c8.xxxx c8.yyyy MUL pp r0.xy__ r3 r3 ADD sat pp r0.x___ r0 r0.yyyy ADD pp r0.x___ -(r0) c7.zzzz RSQ pp r0.x___ r0.xxxx RCP pp r3.__z_ r0.xxxx IFC_1 r0.zzzz c7.yyyy TEX r0._y_w v1 s6 MAD pp r3.xy__ r0.wyzw c8.xxxx c8.yyyy MUL pp r0.xy__ r3 r3 ADD sat pp r0.x___ r0 r0.yyyy ADD pp r0.x___ -(r0) c7.zzzz RSQ pp r0.x___ r0.xxxx RCP pp r3.__z_ r0.xxxx ENDIF DP3 pp r0.x___ r3 v2 DP3 pp r0.__z_ r3 v4 DP3 pp r0._y__ r3 v3 DP3 pp r0.___w r0 r0 RSQ pp r0.___w r0.wwww MUL pp r2.xyz_ r0.wwww r0 TEX r0 v5 s9 TEX r2.xyz_ r2 s7 MUL pp r0.xyz_ r0.wwww r0 DP3 sat pp r5.__z_ r3 c11 DP3 sat pp r5.x___ r3 c13 DP3 sat pp r5._y__ r3 c12 MUL r3.xyz_ r1 r2 MUL pp r0.xyz_ r0 r5 DP3 pp r4.___w r0 c9.wwww TEX r0 v5 s8 MUL pp r0.xyz_ r0.wwww r0 MUL r3.___w r3 c5.xxxx ADD pp r2.xyz_ r1 c8.zzzz MAD pp r2.xyz_ r3.wwww r2 c8.wwww DP3 pp r2.x___ r2 c10 ADD pp r0.___w -(r3) c7.zzzz MUL pp r1.xyz_ r1 r0.wwww ADD pp r2.x___ -(r2) c7.zzzz MAD pp r1.xyz_ r1 r2.xxxx r4 MUL pp r0.xyz_ r0 r4.wwww MUL pp r0.xyz_ r0 r2.wwww MUL pp r0.xyz_ r0 r1 MUL r1.xyz_ r3 c6.xxxx ADD r3.x___ r1.wwww -(v1).zzzz MOV r0.___w c3.xxxx MUL r1.___w c7 r0 MOV r0.___w c2.xxxx MAD r0.___w c7 -(r0) -(r1) MOV pp r2.xyz_ c0 DP3 pp r1.___w c9 r2 MUL r1.xyz_ r1 r1.wwww MUL r2.xyz_ r2.wwww r1 ADD r0.___w r0 c7.zzzz MAD r0.___w -(r0) c1.xxxx r3.xxxx CMP r0.___w r0 c7.yyyy c7.zzzz MOV pp r1 -(r0).wwww MAD pp oC0.xyz_ r0 c9.wwww r2 TEXKILL r1 MOV pp oC0.___w c7.zzzz FRAG PROPERTY FS_COORD_ORIGIN UPPER_LEFT DCL IN[0], COLOR, PERSPECTIVE DCL IN[1], GENERIC[0], PERSPECTIVE DCL IN[2], GENERIC[1], PERSPECTIVE DCL IN[3], GENERIC[2], PERSPECTIVE DCL IN[4], GENERIC[3], PERSPECTIVE DCL IN[5], GENERIC[4], PERSPECTIVE DCL OUT[0], COLOR DCL SAMP[0] DCL SAMP[1] DCL SAMP[2] DCL SAMP[3] DCL SAMP[4] DCL SAMP[5] DCL SAMP[6] DCL SAMP[7] DCL SAMP[8] DCL SAMP[9] DCL CONST[0..6] DCL TEMP[0..3] DCL TEMP[4], LOCAL DCL TEMP[5..6] IMM[0] FLT32 { 1.0100, 0.0000, 1.0000, 0.9500} IMM[1] FLT32 { 2.0000, -1.0000, -0.0400, 0.0400} IMM[2] FLT32 { 0.2200, 0.7070, 0.0710, 8.0000} IMM[3] FLT32 { 0.2126, 0.7153, 0.0722, 0.0000} IMM[4] FLT32 { -0.4082, -0.7071, 0.5774, 0.0000} IMM[5] FLT32 { -0.4082, 0.7071, 0.5774, 0.0000} IMM[6] FLT32 { 0.8165, 0.0000, 0.5774, 340282346638528859811704183484516925440.0000} 0: TEX TEMP[0], IN[1], SAMP[1], 2D 1: MUL TEMP[1].x, IN[0], IMM[0] 2: TEX TEMP[2], IN[1], SAMP[0], 2D 3: ADD TEMP[1].y, TEMP[0].wwww, -TEMP[1].xxxx 4: CMP TEMP[2].xyz, -TEMP[1].yyyy, TEMP[0], TEMP[2] 5: ADD TEMP[0].x, -TEMP[0].wwww, TEMP[1] 6: CMP TEMP[0].z, TEMP[0].xxxx, IMM[0], IMM[0].yyyy 7: TEX TEMP[0].x, IN[1], SAMP[3], 2D 8: TEX TEMP[0].y, IN[1], SAMP[2], 2D 9: MOV TEMP[3].w, TEMP[0].xxxx 10: MUL TEMP[2], TEMP[2], CONST[4] 11: MUL TEMP[1].w, IN[0], TEMP[0].yyyy 12: SGT TEMP[4].x, TEMP[0].wwww, TEMP[1].xxxx 13: IF TEMP[4].xxxx :16 14: TEX TEMP[0].x, IN[1], SAMP[4], 2D 15: MOV TEMP[3].w, TEMP[0].xxxx 16: ENDIF 17: TEX TEMP[0].yw, IN[1], SAMP[5], 2D 18: MAD TEMP[3].xy, TEMP[0].wyzw, IMM[1].xxxx, IMM[1].yyyy 19: MUL TEMP[0].xy, TEMP[3], TEMP[3] 20: ADD_SAT TEMP[0].x, TEMP[0], TEMP[0].yyyy 21: ADD TEMP[0].x, -TEMP[0], IMM[0].zzzz 22: RSQ TEMP[4], |TEMP[0].xxxx| 23: MIN TEMP[0].x, IMM[6].wwww, TEMP[4] 24: RCP TEMP[3].z, TEMP[0].xxxx 25: SGT TEMP[4].x, TEMP[0].zzzz, IMM[0].yyyy 26: IF TEMP[4].xxxx :35 27: TEX TEMP[0].yw, IN[1], SAMP[6], 2D 28: MAD TEMP[3].xy, TEMP[0].wyzw, IMM[1].xxxx, IMM[1].yyyy 29: MUL TEMP[0].xy, TEMP[3], TEMP[3] 30: ADD_SAT TEMP[0].x, TEMP[0], TEMP[0].yyyy 31: ADD TEMP[0].x, -TEMP[0], IMM[0].zzzz 32: RSQ TEMP[4], |TEMP[0].xxxx| 33: MIN TEMP[0].x, IMM[6].wwww, TEMP[4] 34: RCP TEMP[3].z, TEMP[0].xxxx 35: ENDIF 36: DP3 TEMP[0].x, TEMP[3], IN[2] 37: DP3 TEMP[0].z, TEMP[3], IN[4] 38: DP3 TEMP[0].y, TEMP[3], IN[3] 39: DP3 TEMP[0].w, TEMP[0], TEMP[0] 40: RSQ TEMP[4], |TEMP[0].wwww| 41: MIN TEMP[0].w, IMM[6].wwww, TEMP[4] 42: MUL TEMP[1].xyz, TEMP[0].wwww, TEMP[0] 43: TEX TEMP[0], IN[5], SAMP[9], 2D 44: TEX TEMP[1].xyz, TEMP[1], SAMP[7], CUBE 45: MUL TEMP[0].xyz, TEMP[0].wwww, TEMP[0] 46: DP3_SAT TEMP[5].z, TEMP[3], IMM[4] 47: DP3_SAT TEMP[5].x, TEMP[3], IMM[6].xyzy 48: DP3_SAT TEMP[5].y, TEMP[3], IMM[5] 49: MUL TEMP[3].xyz, TEMP[2], TEMP[1] 50: MUL TEMP[0].xyz, TEMP[0], TEMP[5] 51: DP3 TEMP[6].w, TEMP[0], IMM[2].wwww 52: TEX TEMP[0], IN[5], SAMP[8], 2D 53: MUL TEMP[0].xyz, TEMP[0].wwww, TEMP[0] 54: MUL TEMP[3].w, TEMP[3], CONST[5].xxxx 55: ADD TEMP[1].xyz, TEMP[2], IMM[1].zzzz 56: MAD TEMP[1].xyz, TEMP[3].wwww, TEMP[1], IMM[1].wwww 57: DP3 TEMP[1].x, TEMP[1], IMM[3] 58: ADD TEMP[0].w, -TEMP[3], IMM[0].zzzz 59: MUL TEMP[2].xyz, TEMP[2], TEMP[0].wwww 60: ADD TEMP[1].x, -TEMP[1], IMM[0].zzzz 61: MAD TEMP[2].xyz, TEMP[2], TEMP[1].xxxx, TEMP[6] 62: MUL TEMP[0].xyz, TEMP[0], TEMP[6].wwww 63: MUL TEMP[0].xyz, TEMP[0], TEMP[1].wwww 64: MUL TEMP[0].xyz, TEMP[0], TEMP[2] 65: MUL TEMP[2].xyz, TEMP[3], CONST[6].xxxx 66: ADD TEMP[3].x, TEMP[2].wwww, -IN[1].zzzz 67: MOV TEMP[0].w, CONST[3].xxxx 68: MUL TEMP[2].w, IMM[0], TEMP[0] 69: MOV TEMP[0].w, CONST[2].xxxx 70: MAD TEMP[0].w, IMM[0], -TEMP[0], -TEMP[2] 71: MOV TEMP[1].xyz, CONST[0] 72: DP3 TEMP[2].w, IMM[2], TEMP[1] 73: MUL TEMP[2].xyz, TEMP[2], TEMP[2].wwww 74: MUL TEMP[1].xyz, TEMP[1].wwww, TEMP[2] 75: ADD TEMP[0].w, TEMP[0], IMM[0].zzzz 76: MAD TEMP[0].w, -TEMP[0], CONST[1].xxxx, TEMP[3].xxxx 77: CMP TEMP[0].w, TEMP[0], IMM[0].zzzz, IMM[0].yyyy 78: MOV TEMP[2], -TEMP[0].wwww 79: MAD OUT[0].xyz, TEMP[0], IMM[2].wwww, TEMP[1] 80: KILL_IF TEMP[2] 81: MOV OUT[0].w, IMM[0].zzzz 82: END