diff --git a/src/integrators/path/path.cpp b/src/integrators/path/path.cpp index faf835fb..bc5459d3 100644 --- a/src/integrators/path/path.cpp +++ b/src/integrators/path/path.cpp @@ -146,7 +146,7 @@ public: /* Assuming that BSDF importance sampling is perfect, the following should equal the maximum albedo over all spectral samples */ - Float approxAlbedo = std::min((Float) 1, bsdfVal.max()); + Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) break; else diff --git a/src/integrators/path/volpath.cpp b/src/integrators/path/volpath.cpp index 62dd3dd0..6ac286ca 100644 --- a/src/integrators/path/volpath.cpp +++ b/src/integrators/path/volpath.cpp @@ -258,7 +258,7 @@ public: /* Assuming that BSDF importance sampling is perfect, the following should equal the maximum albedo over all spectral samples */ - Float approxAlbedo = std::min((Float) 1, bsdfVal.max()); + Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) break; else diff --git a/src/integrators/path/volpath_simple.cpp b/src/integrators/path/volpath_simple.cpp index 0edbe671..12ac1b6e 100644 --- a/src/integrators/path/volpath_simple.cpp +++ b/src/integrators/path/volpath_simple.cpp @@ -193,7 +193,7 @@ public: /* Assuming that BSDF importance sampling is perfect, the following should equal the maximum albedo over all spectral samples */ - Float approxAlbedo = std::min((Float) 1, bsdfVal.max()); + Float approxAlbedo = std::min((Float) 0.9, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) break; else