# | Line 194 | Line 194 | register RAY *r; | |
---|---|---|
194 | /* check threshold */ | |
195 | if (specthresh > FTINY && | |
196 | ((specthresh >= 1.-FTINY || | |
197 | < | specthresh + (.1 - .2*urand(8199+samplendx)) |
197 | > | specthresh + (.05 - .1*urand(8199+samplendx)) |
198 | > nd.rspec))) | |
199 | nd.specfl |= SP_RBLT; | |
200 | /* compute reflected ray */ | |
# | Line 225 | Line 225 | register RAY *r; | |
225 | if (specthresh > FTINY && | |
226 | ((specthresh >= 1.-FTINY || | |
227 | specthresh + | |
228 | < | (.1 - .2*urand(7241+samplendx)) |
228 | > | (.05 - .1*urand(7241+samplendx)) |
229 | > nd.tspec))) | |
230 | nd.specfl |= SP_TBLT; | |
231 | if (r->crtype & SHADOW || |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |