mmp / pbrt-v4

Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
https://pbrt.org
Apache License 2.0
2.75k stars 407 forks source link

Constrain max value test further for unbounded #387

Closed jalberse closed 9 months ago

jalberse commented 9 months ago

Removes a 10x multiplier on the maximum value in the MaxValue test for RgbUnboundedSpectrum. The 10x multiplier makes the check unnecessarily lax; the evaluations on the various lambdas below it pass without the multiplier applied.

mmp commented 9 months ago

Yep, thanks!