!!ATIfs1.0

StartOutputPass;

SampleMap		r0, t0.str;
SampleMap		r1, t1.str;
SampleMap		r2, t2.str;
SampleMap		r3, t3.str;
PassTexCoord	r4, t3.str;

ADD	r0.half, r1, r0;
MOV	r4.a.sat, r4.b;
ADD	r2.half, r2, r3;
ADD	r0.half, r2, r0;
MUL	r0, r0, color0;
MUL	r0.a, r0, color1.b;
MUL	r0.a, r0, r4.a;

EndPass;
