 
 #include "aten4idaten.h"
 
-//#define ENALBLE_SEPARATE_ALBEDO
+//#define ENABLE_SEPARATE_ALBEDO
+//#define ENABLE_PROGRESSIVE
 
 __global__ void genPath(
 	idaten::PathTracing::Path* paths,

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

#if IDATEN_SAMPLER == IDATEN_SAMPLER_SOBOL
	auto scramble = random[idx] * 0x1fe3434f;
	path.sampler.init(frame, 4 + bounce * 300, scramble);

		return;
	}

#ifdef ENABLE_PROGRESSIVE
#if IDATEN_SAMPLER == IDATEN_SAMPLER_SOBOL
	auto scramble = random[idx] * 0x1fe3434f;
	path.sampler.init(frame, 0, scramble, sobolmatrices);
