| 1 |
!!ARBfp1.0 |
| 2 |
TEMP temp, neg; |
| 3 |
TEX temp, fragment.texcoord[0], texture[0], RECT; |
| 4 |
RCP neg.a, temp.a; |
| 5 |
MAD temp.rgb, -neg.a, temp, 1.0; |
| 6 |
MUL temp.rgb, temp.a, temp; |
| 7 |
MUL temp, fragment.color, temp; |
| 8 |
SUB temp.gb, temp, temp; |
| 9 |
MOV result.color, temp; |
| 10 |
END |