!!NVts1.0

StartPrelimPass;

SampleMap		t0, 2D;
SampleMap		t1, 2D;
PassTexCoord	t2;

EndPass;

StartOutputPass;

Combiner;

input.a = t1.expand;
input.b = t2.expand;
out = s0, discard, discard, none, none, true, false, false;

Combiner;

input.a = s0;
input.b = c0;
input.c = s0.invert;
input.d = c1;
out = discard, discard, s0, none, none, false, false, false;

FinalCombiner;

input.a = t0;
input.b = s0;
input.g = t0.a.invert;

EndPass;
