optimize by raytracing only at high-contrast zones
first try at shadows
merge dat