--- ray/src/rt/source.c 1989/09/29 10:04:01 1.17 +++ ray/src/rt/source.c 1989/11/29 14:35:27 1.18 @@ -379,7 +379,10 @@ char *p; /* data for f */ if (localhit(&sr, &thescene) && sr.ro != source[cntord[sn].sno].so) { /* check for transmission */ - rayshade(&sr, sr.ro->omod); + if (sr.clipset != NULL && inset(sr.clipset, sr.ro->omod)) + raytrans(&sr); + else + rayshade(&sr, sr.ro->omod); if (bright(sr.rcol) <= FTINY) continue; /* missed! */ (*f)(srccnt[cntord[sn].sno].val, p,