| 1 |
!!ARBfp1.0 |
| 2 |
TEMP tex, temp; |
| 3 |
TEX tex, fragment.texcoord[0], texture[0], RECT; |
| 4 |
DP3 temp.r, tex, {0.393, 0.769, 0.189, 0}; |
| 5 |
DP3 temp.g, tex, {0.349, 0.686, 0.168, 0}; |
| 6 |
DP3 temp.b, tex, {0.272, 0.534, 0.131, 0}; |
| 7 |
MOV temp.a, tex.a; |
| 8 |
MOV result.color, temp; |
| 9 |
END |