!!NVts1.0

StartPrelimPass;

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

EndPass;

StartOutputPass;

Combiner;

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

Combiner;

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

Combiner;

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

Combiner;

input.a = s0;
input.b = s0;
out = s0, discard, discard, none, none, false, false, false;

Combiner;

input.a = s0;
input.b = s0;
out = s0, discard, discard, none, none, false, false, false;

Combiner;

input.a = s0;
input.b = s0;
input.c = s1;
input.d = t0.a;
out = s0, s1, discard, 4x, none, false, false, false;

FinalCombiner;

input.a = s0;
input.b = s1;
input.g = 0;

EndPass;
