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

//#define ENABLE_PROGRESSIVE

#define ENABLE_PERSISTENT_THREAD
#define SEPARATE_SHADOWRAY_HITTEST

__global__ void genPath(
	idaten::TileDomain tileDomain,
	idaten::PathTracing::Path* paths,
	aten::ray* rays,
	int width, int height,
	int sample, int maxSamples,
	unsigned int frame,
	const aten::CameraParameter* __restrict__ camera,

				m_tex.ptr(),
				m_envmapRsc.idx, m_envmapRsc.avgIllum, m_envmapRsc.multiplyer,
				m_paths.ptr(),
				m_rays.ptr());
		}
		else {
			shadeMiss << <grid, block >> > (
				isFirstBounce, enableAOV,
				m_tileDomain,
				m_aovCudaRsc.ptr(),
				m_paths.ptr());
		}

		checkCudaKernel(shadeMiss);
