mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.89k stars 1.19k forks source link

3.9.6 Avoiding Intersections Behind Ray Origins #312

Open kennyalive opened 2 years ago

kennyalive commented 2 years ago

Not sure how we can get gamma2 in the second equation. Could it be the fix in the first equation did not propagate to the second one? image