!!NVts1.0

StartConstants;

CONSTANT	c0 = 0.333;

EndConstants;

StartPrelimPass;

SampleMap	t0, RECT;
SampleMap	t1, RECT;
SampleMap	t2, RECT;

EndPass;

StartOutputPass;

Combiner;

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

Combiner;

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

FinalCombiner;

input.a = s0;
input.b = color0;
input.d = color1;

EndPass;
