All pastes #610356 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-09 12:39 UTC
rendered paste body
!!ARBfp1.0
TEMP tex,tex2,tcoord,pix;
ADD tcoord, fragment.texcoord[0], {1.0, 1.0, 0.0, 0.0};
TEX pix, tcoord, texture[0], RECT;
TEX tex, fragment.texcoord[0], texture[0], RECT;
SUB pix, tex, pix;
MUL pix, pix, 4.0;
MAD result.color, tex,0.5, -pix;
END