 	}
 
 	auto scramble = random[idx] * 0x1fe3434f;
-
-	if (frame & 0xf) {
-		random[idx] = aten::WangHash::next(scramble);
-	}
-
 	path.sampler.init(scramble + frame, sobolmatrices);
 
 	float s = (ix + path.sampler.nextSample()) / (float)(camera->width);

#include "cuda/cudamemory.h"

#include "aten4idaten.h"

__global__ void genPath(
	idaten::SVGFPathTracing::Path* paths,


	idx = hitindices[idx];

#ifdef ENABLE_DEBUG_1PIXEL
	int ix = DEBUG_IX;
	int iy = DEBUG_IY;
	idx = getIdx(ix, iy, width);
#endif

	auto& path = paths[idx];
	const auto& ray = rays[idx];

