--- ray/src/rt/source.c 1989/06/19 11:44:58 1.13 +++ ray/src/rt/source.c 1989/07/20 13:51:34 1.15 @@ -329,7 +329,7 @@ char *p; /* data for f */ /* compute coefficient */ (*f)(srccnt[sn].val, p, srccnt[sn].dir, srccnt[sn].dom); cntord[sn].brt = bright(srccnt[sn].val); - if (cntord[sn].brt <= FTINY) + if (cntord[sn].brt <= 0.0) continue; /* compute intersection */ if (!( source[sn].sflags & SDISTANT ? @@ -379,10 +379,7 @@ char *p; /* data for f */ if (localhit(&sr, &thescene) && sr.ro != source[cntord[sn].sno].so) { /* check for transmission */ - if (sr.clipset != NULL && inset(sr.clipset,sr.ro->omod)) - raytrans(&sr); /* object is clipped */ - else - rayshade(&sr, sr.ro->omod); + rayshade(&sr, sr.ro->omod); if (bright(sr.rcol) <= FTINY) continue; /* missed! */ (*f)(srccnt[cntord[sn].sno].val, p,