!!ATIfs1.0

StartConstants;

CONSTANT	c0 = 0.333;

EndConstants;

StartOutputPass;

SampleMap	r0, t0.str;
SampleMap	r1, t1.str;
SampleMap	r2, t2.str;

ADD	r0.rgb, r0, r1;
ADD	r0.rgb, r0, r2;
MUL	r0.rgb, r0, c0;
MAD	r0.rgb, r0, color0, color1;

EndPass;
