We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0793b3 commit 1a63d26Copy full SHA for 1a63d26
devices/rtx/renderer/DirectLight_ptx.cu
@@ -374,9 +374,6 @@ VISRTX_GLOBAL void __raygen__()
374
if (glm::any(glm::isnan(vec3(shadingResult)))) {
375
color = vec3(0.f);
376
opacity = 0.f;
377
- } else {
378
- color = vec3(shadingResult);
379
- opacity = shadingResult.w;
380
}
381
accumulateValue(color, vec3(shadingResult), opacity);
382
accumulateValue(opacity, shadingResult.w, opacity);
0 commit comments