 				// inifinite light ̏ꍇ́AɂȂApdfLightɊ܂܂鋗ƑłH.
 				// ił̂ŁApdfLightɂ͋͊܂łȂj.
 				auto misW = pdfLight / (pdfb + pdfLight);
-				path.lightcontrib = (misW * bsdf * emit * cosShadow / pdfLight) / lightSelectPdf;
+				shadowRays[idx].lightcontrib = (misW * bsdf * emit * cosShadow / pdfLight) / lightSelectPdf;
+				shadowRays[idx].isActive = true;
 			}
 		}
 		else {

	}

	aten::MaterialParameter* mtrl = &ctxt.mtrls[path.rec.mtrlid];

	// ʒu̖@.
	// ̂̃C̓ol.

			path.isTerminate = true;
			willContinue = false;
		}
		else if (prevMtrl && prevMtrl->attrib.isSingular) {
			auto emit = prevMtrl->baseColor;
			path.contrib += path.throughput * emit;
			willContinue = false;
		}
