Debian Codegraph @

data/filters/grayscale

raw
1 !!ARBfp1.0
2 TEMP tex;
3 TEX tex, fragment.texcoord[0], texture[0], RECT;
4 DP3 tex.r, tex, {0.33333, 0.33333, 0.33333, 0};
5 MOV result.color, tex.rrra;
6 END