# | Line 766 | Line 766 | m_light( /* ray hit a light source */ | |
---|---|---|
766 | return(1); | |
767 | } | |
768 | /* otherwise treat as source */ | |
769 | < | /* check for behind */ |
770 | < | if (r->rod < 0.0) |
769 | > | if (r->rod < 0.0) { /* check for behind */ |
770 | > | if (!backvis) |
771 | > | raytrans(r); /* used to return black */ |
772 | return(1); | |
773 | + | } |
774 | /* check for outside spot */ | |
775 | if (m->otype==MAT_SPOT && spotout(r, makespot(m))) | |
776 | return(1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |