--- ray/src/rt/normal.c 1991/05/08 08:27:48 1.9 +++ ray/src/rt/normal.c 1991/06/13 13:58:18 1.11 @@ -155,7 +155,6 @@ register RAY *r; raytexture(r, m->omod); nd.pdot = raynormal(nd.pnorm, r); /* perturb normal */ multcolor(nd.mcolor, r->pcol); /* modify material color */ - r->rt = r->rot; /* default ray length */ transtest = 0; /* get specular component */ nd.rspec = m->oargs.farg[3]; @@ -202,8 +201,10 @@ register RAY *r; lr.rdir[i] = r->rdir[i] - .75*r->pert[i]; normalize(lr.rdir); - } else + } else { + VCOPY(lr.rdir, r->rdir); transtest = 2; + } rayvalue(&lr); scalecolor(lr.rcol, nd.tspec); multcolor(lr.rcol, nd.mcolor); /* modified by color */