# | Line 28 | Line 28 | |
---|---|---|
28 | accounted for by caustic photons in the global, | |
29 | contrib, or dedicated caustic photon map. | |
30 | */ | |
31 | + | /* |
32 | + | #define ambRayInPmap(r) ((r) -> crtype & AMBIENT && \ |
33 | + | ((photonMapping && \ |
34 | + | (ambounce < 0 || (r) -> rlvl > 1)) || \ |
35 | + | causticPhotonMapping || contribPhotonMapping)) |
36 | + | */ |
37 | + | #define ambRayInPmap(r) 0 |
38 | #define shadowRayInPmap(r) ((r) -> crtype & SHADOW && \ | |
39 | (ambounce < 0 || ((r) -> crtype & AMBIENT ? \ | |
40 | photonMapping : causticPhotonMapping))) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |