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

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

#if 0
			int n = (int)prev.w;

			// TODO
			n = min(16, n);

			// ݂̃t[ƑÕt[̃J[.
			cur = prev * n + cur;
			cur /= (float)(n + 1);
			cur.w = n + 1;
#else		
			float2 diff = make_float2(ix - px, iy - py);
			float len = length(diff);


			else {
				cur = cur * 0.2 + prev * 0.8;
			}
		}
	}
#endif
