!!ATIfs1.0

StartOutputPass;

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

DOT3	r1.rgb.sat, r1, r1;
DOT3	r2.rgb.sat, r2.2x.bias, r3.2x.bias;
MUL		r2.rgb, r1.comp, r2;
MUL		r2.rgb, r2, c0;
MUL		r2.rgb.4x, r2, r4;
MUL		r0.rgb, r0, r2;

EndPass;

