!!NVts1.0

StartPrelimPass;

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

EndPass;

StartOutputPass;

Combiner;

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

Combiner;

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

Combiner;

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

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

FinalCombiner;

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

EndPass;
