fix comments
parent
18390c39b2
commit
8a34e39713
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue