 		const auto pidx = getIdx(px, py, width);
 
 		const auto prevAov = prevAOVs[pidx];
-		const auto prevDepth = aten::clamp(prevAov.y, CAMERA_NEAR, CAMERA_FAR);
+		const auto prevDepth = aten::clamp(prevAov.y, camera->znear, camera->zfar);
 
 		// Õt[Ƃ̐[x͈͓ && }eAIDǂ.
 		if (abs(1 - prevDepth / centerDepth) < 0.05

		int width, int height,
		cudaTextureObject_t texVtxPos)
	{
#ifndef ENABLE_DEBUG
		PathTracing::onHitTest(width, height, texVtxPos);
#endif
	}

	void PathTracingTemporalReprojection::onShadeMiss(
		int width, int height,
		int bounce)
	{
#ifndef ENABLE_DEBUG
		PathTracing::onShadeMiss(width, height, bounce);
#endif
	}

	void PathTracingTemporalReprojection::onShade(

		ix * sizeof(float4), iy,
		cudaBoundaryModeTrap);	
}

__global__ void makePathMask(
	idaten::PathTracing::Path* paths,
