 			m_mtxC2V.invert();
 		}
 
+#if 1
+		PathTracingGeometryRendering::onGenPath(
+			width, height,
+			sample, maxSamples,
+			seed,
+			texVtxPos,
+			texVtxNml);
+#else
 		if (m_isFirstRender) {
 			// ŏ̃t[͎QƂłߋ̃t[Ȃ̂ŁAʂɏ.
 			PathTracingGeometryRendering::onGenPath(

	bool isInsideX = (0.0 <= prevPos.x) && (prevPos.x <= 1.0);
	bool isInsideY = (0.0 <= prevPos.y) && (prevPos.y <= 1.0);

	// ̃t[̃sNZJ[.
	float4 cur = make_float4(path.contrib.x, path.contrib.y, path.contrib.z, 0) / path.samples;
	cur.w = 1;

#if 1
	if (isInsideX && isInsideY) {
		// Õt[̃XN[W.
		int px = (int)(prevPos.x * width - 0.5f);

			float4 prev;
			surf2Dread(&prev, outSurface, px * sizeof(float4), py);

			float2 diff = make_float2(ix - px, iy - py);
			float len = length(diff);

