!!ARBfp1.0 TEMP tex, temp; TEX tex, fragment.texcoord[0], texture[0], RECT; DP3 temp.r, tex, {0.393, 0.769, 0.189, 0}; DP3 temp.g, tex, {0.349, 0.686, 0.168, 0}; DP3 temp.b, tex, {0.272, 0.534, 0.131, 0}; MOV temp.a, tex.a; MOV result.color, temp; END