!!ATIfs1.0

StartOutputPass;

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

DOT3	r2.rgb.sat, r1.2x.bias, r2.2x.bias;
MUL		r0.rgb, r0, r2;
MUL		r0.rgb, r0, r3;
MUL		r0.rgb, r0, c0;
SUB		r0.a, 1, r0.a;
MUL		r0, r0, color0.2x;

EndPass;
