| # | Line 457 | Line 457 | direct( /* add direct component */ | |
|---|---|---|
| 457 | raycont(&sr); | |
| 458 | if (trace != NULL) | |
| 459 | (*trace)(&sr); /* trace execution */ | |
| 460 | – | rayparticipate(&sr); |
| 460 | if (bright(sr.rcol) <= FTINY) { | |
| 461 | #if SHADCACHE | |
| 462 | if ((scp <= srccnt || scp[-1].sno != scp->sno) | |
| # | Line 467 | Line 466 | direct( /* add direct component */ | |
| 466 | #endif | |
| 467 | continue; /* missed! */ | |
| 468 | } | |
| 469 | + | rayparticipate(&sr); |
| 470 | multcolor(sr.rcol, sr.rcoef); | |
| 471 | copycolor(scp->val, sr.rcol); | |
| 472 | } else if (trace != NULL && | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |