# | Line 190 | Line 190 | m_normal( /* color a ray that hit something normal * | |
---|---|---|
190 | int i; | |
191 | ||
192 | /* PMAP: skip transmitted shadow ray if accounted for in photon map */ | |
193 | < | if (shadowRayInPmap(r)) |
193 | > | if (shadowRayInPmap(r) || ambRayInPmap(r)) |
194 | return(1); | |
195 | /* easy shadow test */ | |
196 | if (r->crtype & SHADOW && m->otype != MAT_TRANS) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |