--- ray/src/rt/m_brdf.c 1991/08/08 11:30:01 1.15 +++ ray/src/rt/m_brdf.c 1991/08/12 08:20:53 1.16 @@ -269,7 +269,8 @@ register RAY *r; objerror(m, WARNING, "compute error"); else if ((tspect = bright(ctmp)) > FTINY && rayorigin(&sr, r, TRANS, tspect) == 0) { - if (DOT(r->pert,r->pert) > FTINY*FTINY) { + if (!(r->crtype & SHADOW) && + DOT(r->pert,r->pert) > FTINY*FTINY) { for (i = 0; i < 3; i++) /* perturb direction */ sr.rdir[i] = r->rdir[i] - .75*r->pert[i];