Some rt changes
This commit is contained in:
1 parent
382e2d30f5
commit
eef78e8aa5
3 files changed
+33
-25
No files matched your search
@@ -109,7 +109,7 @@ void raygen()
|
||||
payload.emissive = 1;
|
||||
payload.depth = 1;
|
||||
payload.anyHit = false;
|
||||
TraceRay(pRayTracingParams.scene, RAY_FLAG_FORCE_OPAQUE, 0xff, 0, 0, 0, rayDesc, payload);
|
||||
TraceRay(pRayTracingParams.scene, 0, 0xff, 0, 0, 0, rayDesc, payload);
|
||||
|
||||
if(pSamps.pass == 0) pRayTracingParams.radianceAccumulator[pix] = float4(0);
|
||||
pRayTracingParams.radianceAccumulator[pix] += float4(payload.light / pSamps.samplesPerPixel, 0);
|
||||
|
||||
Reference in new issue
Block a user