!!NVts1.0

StartConstants;

CONSTANT	c0 = { 0.43, 0.47, 0.45, 0 };

EndConstants;

StartPrelimPass;

SampleMap	t0, 2D;
TexOp		t1, offset_proj_2d, t0;

# s' = s/q + ds

EndPass;

StartOutputPass;

FinalCombiner;

input.a = t1;
input.b = c0;
input.g = 0.invert.a;

EndPass;
