diff --git a/src/integrators/path/path.cpp b/src/integrators/path/path.cpp index 006c68ee..79258939 100644 --- a/src/integrators/path/path.cpp +++ b/src/integrators/path/path.cpp @@ -162,7 +162,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) diff --git a/src/integrators/path/volpath.cpp b/src/integrators/path/volpath.cpp index c236a26e..3ba27287 100644 --- a/src/integrators/path/volpath.cpp +++ b/src/integrators/path/volpath.cpp @@ -274,7 +274,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) diff --git a/src/integrators/path/volpath_simple.cpp b/src/integrators/path/volpath_simple.cpp index 19935a80..164f07e7 100644 --- a/src/integrators/path/volpath_simple.cpp +++ b/src/integrators/path/volpath_simple.cpp @@ -209,7 +209,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo)